Skip to content

Commit

Permalink
Mark dist/umd directory as CommonJS (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 authored Nov 15, 2024
1 parent 2543c04 commit 6ddcfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build": "rm -rf dist && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:types",
"build:esm": "tsc -p .config/tsconfig.esm.json",
"build:cjs": "tsc -p .config/tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:umd": "npx rollup -c .config/rollup.config.mjs",
"build:umd": "npx rollup -c .config/rollup.config.mjs && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:types": "tsc -p .config/tsconfig.types.json"
},
"keywords": [
Expand Down

0 comments on commit 6ddcfbd

Please sign in to comment.