Skip to content

Commit 6b485ee

Browse files
committed
Include cjs production minified in the build as well
1 parent a0b5523 commit 6b485ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
"webpack-dev-server": "webpack-dev-server",
1515
"dev:server": "npm run webpack-dev-server -- --env.mode development --env.target=umd",
1616
"dev": "npm-run-all -s clean dev:server",
17-
"build:umdmin": "npm run webpack -- --env.mode production --env.target=umd",
1817
"build:umd": "npm run webpack -- --env.mode development --env.target=umd",
19-
"build:commonjs": "npm run webpack -- --env.mode development --env.target=commonjs2",
18+
"build:umdmin": "npm run webpack -- --env.mode production --env.target=umd",
19+
"build:cjs": "npm run webpack -- --env.mode development --env.target=commonjs2",
20+
"build:cjsmin": "npm run webpack -- --env.mode production --env.target=commonjs2",
2021
"build:cleanexample": "rimraf umd/index.html cjs/index.html",
2122
"build": "npm-run-all -s clean build:*",
2223
"format:pretty": "prettier --write src/",

0 commit comments

Comments
 (0)