This commit is contained in:
10
packages/tsup-config/tsup.config.js
Normal file
10
packages/tsup-config/tsup.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { defineConfig } from "tsup";
|
||||
|
||||
export default defineConfig((_options) => ({
|
||||
entry: ["src/index.ts"],
|
||||
splitting: false,
|
||||
sourcemap: false,
|
||||
clear: !_options?.watch,
|
||||
format: ["cjs", "esm"],
|
||||
dts: false,
|
||||
}));
|
||||
Reference in New Issue
Block a user