Skip to content

Commit

Permalink
fix(pkg): force commonjs for cjs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman committed Jan 31, 2024
1 parent 5ca7ff8 commit d1fd4f5
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 @@ -29,7 +29,7 @@
"test:pw": "npx playwright test",
"pw": "npx playwright install --with-deps",
"build": "npm run build:cjs; npm run build:esm",
"build:cjs": "tsc --module commonjs --outDir cjs",
"build:cjs": "tsc --module commonjs --outDir cjs; echo '{\"type\":\"commonjs\"}' > cjs/package.json",
"build:esm": "tsc --module esnext --outDir dist"
},
"repository": {
Expand Down

0 comments on commit d1fd4f5

Please sign in to comment.