Skip to content

Commit

Permalink
lerna.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ksky521 committed Feb 28, 2019
1 parent 9165ec6 commit 9659318
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 7 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@
"packages": [
"packages/*"
],
"version": "independent"
"version": "independent",
"npmClient": "npm",
"command": {
"bootstrap": {
"npmClientArgs": ["--no-package-lock"]
}
}
}
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,5 @@
"private": true,
"devDependencies": {
"lerna": "^3.4.3"
},
"npmClient": "npm",
"command": {
"bootstrap": {
"npmClientArgs": ["--no-package-lock"]
}
}
}
2 changes: 1 addition & 1 deletion packages/nodeppt-serve/config/prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = (api, options) => {
api.chainWebpack(webpackConfig => {
if (process.env.NODE_ENV === 'production') {
const getAssetPath = require('../lib/utils').getAssetPath;
const filename = getAssetPath(options, `js/[name]${options.filenameHashing ? '.[hash:8]' : ''}.js`);
const filename = getAssetPath(options, `js/[name]${options.filenameHashing ? '.[contenthash:8]' : ''}.js`);

webpackConfig
.mode('production')
Expand Down

0 comments on commit 9659318

Please sign in to comment.