Version 1.0
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'tsup';
|
||||
|
||||
export default defineConfig((opts) => ({
|
||||
clean: true,
|
||||
dts: true,
|
||||
entry: ['src/index.ts'],
|
||||
format: ['cjs', 'esm'],
|
||||
minify: !opts.watch,
|
||||
sourcemap: true,
|
||||
target: 'esnext',
|
||||
outDir: 'dist',
|
||||
}));
|
||||
Reference in New Issue
Block a user