Skip to content

Commit

Permalink
Only output cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanjtc committed Jan 2, 2023
1 parent 6e36bd7 commit 4cbe11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsup.config.ts
Expand Up @@ -4,7 +4,7 @@ export default defineConfig([
{
clean: true,
entry: ['./src/**/!(*.{d,test}).{js,jsx,ts,tsx}'],
format: ['cjs', 'esm'],
format: ['cjs'],
dts: true,
esbuildOptions(options, context) {
options.platform = 'node';
Expand Down

0 comments on commit 4cbe11b

Please sign in to comment.