Skip to content

Commit 9949871

Browse files
committed
fix: commonsChunk 配置错误
1 parent 8a1eea4 commit 9949871

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build/webpack.dev.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = merge(baseWebpackConfig, {
6060
module.resource &&
6161
/\.js$/.test(module.resource) &&
6262
module.resource.indexOf(
63-
path.join(__dirname, '../node_modules')
63+
path.join(__dirname, '../../../node_modules')
6464
) === 0
6565
)
6666
}

build/webpack.prod.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var webpackConfig = merge(baseWebpackConfig, {
7777
module.resource &&
7878
/\.js$/.test(module.resource) &&
7979
module.resource.indexOf(
80-
path.join(__dirname, '../node_modules')
80+
path.join(__dirname, '../../../node_modules')
8181
) === 0
8282
)
8383
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mpvue-simple",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"description": "辅助 mpvue 快速开发 Page / Component 级小程序页面的工具",
55
"main": "index.js",
66
"bin": "bin/mpvue-simple",

0 commit comments

Comments
 (0)