Skip to content

Commit edea3fd

Browse files
committed
webpack mode=
1 parent a437f38 commit edea3fd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"clean": "rm -rf build",
88
"clean:all": "npm run clean && rm -rf node_modules package-lock.json",
9-
"build": "npm run clean && webpack --mode development",
10-
"build:prod": "npm run clean && webpack --mode production",
11-
"build:watch": "npm run clean && webpack --mode development --watch",
9+
"build": "npm run clean && webpack --mode=development",
10+
"build:prod": "npm run clean && webpack --mode=production",
11+
"build:watch": "npm run clean && webpack --mode=development --watch",
1212
"test:e2e": "NODE_ENV=test jest --config jest-e2e.config.js --verbose",
1313
"chromium:linux": "~/.cache/ms-playwright/chromium-857950/chrome-linux/chrome",
1414
"npm:update": "npm run clean:all && npx npm-check-updates --upgrade && npm install"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build:cjs": "tsc --project tsconfig.dist.json --outDir dist/cjs",
2727
"build": "npm run clean && npm run build:esnext && npm run build:cjs",
2828
"npm:install:examples": "cd examples && npm install",
29-
"build:examples": "cd examples && ./node_modules/.bin/webpack --mode development",
29+
"build:examples": "cd examples && ./node_modules/.bin/webpack --mode=development",
3030
"test": "NODE_ENV=test jest --verbose",
3131
"test:coverage": "jest --coverage",
3232
"test:examples": "cd examples && NODE_ENV=test ./node_modules/.bin/jest --config jest-e2e.config.js --verbose",

0 commit comments

Comments
 (0)