mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-30 18:23:22 +03:00
7b2aa1adfc
* update tsup to 8.2.0 (no change to dist) * add rollup config to generate dist * fix browser build config * browser umd bundle sourcemap should be published * browser bundle is iife, not umd, despite folder name * rollup: don't use manualChunks to keep the config a tad simpler * prepack: use rollup instead of tsup * remove browser entrypoint from dist * remove comments in .js and .mjs outputs * remove src/browser.ts, use equivalent Rollup config * Restore original .npmignore * rollup config: rename umdBuildConfig to browserBuildConfig * rollup: use package.json#exports for esm entrypoints * chore: package.json * rollup config * sort * lint * prettier --------- Co-authored-by: Sojin Park <raon0211@toss.im>
14 lines
282 B
TypeScript
14 lines
282 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import packageJson from './package.json';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
name: packageJson.name,
|
|
exclude: ['./benchmarks/**/*'],
|
|
coverage: {
|
|
provider: 'istanbul',
|
|
include: ['src/**/*'],
|
|
},
|
|
},
|
|
});
|