We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a063057 commit a88175bCopy full SHA for a88175b
package.json
@@ -31,6 +31,7 @@
31
"prebuild": "npm run clean",
32
"build:esm": "tsc --target es2020 --outDir esm",
33
"build:es5": "tsc --target es2020 --module commonjs --outDir dist",
34
+ "postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
35
"build": "npm run generate && npm run build:esm && npm run build:es5",
36
"preversion": "npm test run && npm run build",
37
"version": "standard-changelog && git add CHANGELOG.md",
0 commit comments