We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59b80b7 commit d7fc7cfCopy full SHA for d7fc7cf
package.json
@@ -38,6 +38,7 @@
38
"prebuild": "npm run clean && npm run lint",
39
"build:esm": "tsc --target es2020 --outDir esm",
40
"build:es5": "tsc --target es2020 --module commonjs --outDir dist",
41
+ "postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
42
"build": "npm run build:esm && npm run build:es5",
43
"postbuild": "webpack",
44
"preversion": "npm run lint && npm test run && npm run build",
0 commit comments