提交 9b675c24 编写于 作者: fxy060608's avatar fxy060608

fix(cli): split-chunks(windows path)

上级 2673716c
......@@ -35,7 +35,7 @@ module.exports = function getSplitChunks () {
if (module.resource && (
module.resource.indexOf('.vue') !== -1 ||
module.resource.indexOf('.nvue') !== -1 ||
module.resource.indexOf(mainPath) === 0 // main.js
normalizePath(module.resource).indexOf(mainPath) === 0 // main.js
)) {
return false
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册