Skip to content

Commit

Permalink
remove cjs support
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed May 23, 2024
1 parent 38da8d3 commit f5acfd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
"version": "3.0.0-alpha.3",
"description": "A Node wrapper for makensis, the NSIS compiler",
"type": "module",
"main": "./dist/makensis.cjs",
"module": "./dist/makensis.js",
"types": "./dist/makensis.d.ts",
"exports": {
".": {
"import": "./dist/makensis.js",
"require": "./dist/makensis.cjs",
"types": "./dist/makensis.d.ts"
}
},
Expand Down
3 changes: 1 addition & 2 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default defineConfig({
dts: true,
entry: ['src/makensis.ts'],
external: ['@nsis/language-data'],
format: ['cjs', 'esm'],
minify: true,
format: 'esm',
treeshake: 'recommended'
});

0 comments on commit f5acfd6

Please sign in to comment.