Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Jan 31, 2021
1 parent a629cc0 commit 6d0f72c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/webpack/webpack5/webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const getConfig = target => ({

optimization: {
// this will lead to runtime error
runtimeChunk: false && target !== 'node',
runtimeChunk: target !== 'node',
},

output: {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
],
"scripts": {
"build": "lerna run build",
"ci": "yarn build && yarn lint && ./scripts/prepare.sh yarn test --ci && bundlesize",
"ci": "yarn build && yarn lint && yarn test:prepare && yarn test --ci && bundlesize",
"dev": "WATCH_MODE=true lerna run build --parallel -- --watch",
"format": "prettier --write \"**/*.{js,json,md}\"",
"lint": "eslint .",
"release": "lerna publish --conventional-commits && conventional-github-releaser --preset angular",
"release-to-git": "./scripts/git-release.sh",
"test:prepare": "./scripts/prepare.sh",
"test": "jest"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/server/__fixtures__/stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"errors": [],
"warnings": [],
"version": "4.41.0",
"hash": "3e6566a0799a062ba9c6",
"hash": "978c0e495cd799413c9a",
"publicPath": "/dist/node/",
"outputPath": "../../examples/server-side-rendering/public/dist/node",
"assetsByChunkName": {
Expand Down Expand Up @@ -767,7 +767,7 @@
"main.css",
"main.js"
],
"hash": "f2e7d69a2c13975fa3a9",
"hash": "37cac90b272ff26b2f8f",
"siblings": [],
"parents": [],
"children": [
Expand Down

0 comments on commit 6d0f72c

Please sign in to comment.