Skip to content

Commit a88175b

Browse files
committed
Postbuild
1 parent a063057 commit a88175b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"prebuild": "npm run clean",
3232
"build:esm": "tsc --target es2020 --outDir esm",
3333
"build:es5": "tsc --target es2020 --module commonjs --outDir dist",
34+
"postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
3435
"build": "npm run generate && npm run build:esm && npm run build:es5",
3536
"preversion": "npm test run && npm run build",
3637
"version": "standard-changelog && git add CHANGELOG.md",

0 commit comments

Comments
 (0)