Skip to content

Commit 6d0f72c

Browse files
committed
update scripts
1 parent a629cc0 commit 6d0f72c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

examples/webpack/webpack5/webpack.config.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const getConfig = target => ({
4040

4141
optimization: {
4242
// this will lead to runtime error
43-
runtimeChunk: false && target !== 'node',
43+
runtimeChunk: target !== 'node',
4444
},
4545

4646
output: {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
],
1616
"scripts": {
1717
"build": "lerna run build",
18-
"ci": "yarn build && yarn lint && ./scripts/prepare.sh yarn test --ci && bundlesize",
18+
"ci": "yarn build && yarn lint && yarn test:prepare && yarn test --ci && bundlesize",
1919
"dev": "WATCH_MODE=true lerna run build --parallel -- --watch",
2020
"format": "prettier --write \"**/*.{js,json,md}\"",
2121
"lint": "eslint .",
2222
"release": "lerna publish --conventional-commits && conventional-github-releaser --preset angular",
2323
"release-to-git": "./scripts/git-release.sh",
24+
"test:prepare": "./scripts/prepare.sh",
2425
"test": "jest"
2526
},
2627
"devDependencies": {

packages/server/__fixtures__/stats.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"errors": [],
33
"warnings": [],
44
"version": "4.41.0",
5-
"hash": "3e6566a0799a062ba9c6",
5+
"hash": "978c0e495cd799413c9a",
66
"publicPath": "/dist/node/",
77
"outputPath": "../../examples/server-side-rendering/public/dist/node",
88
"assetsByChunkName": {
@@ -767,7 +767,7 @@
767767
"main.css",
768768
"main.js"
769769
],
770-
"hash": "f2e7d69a2c13975fa3a9",
770+
"hash": "37cac90b272ff26b2f8f",
771771
"siblings": [],
772772
"parents": [],
773773
"children": [

0 commit comments

Comments
 (0)