Skip to content

Commit 52f421b

Browse files
ColinKinlochulivz
authored andcommitted
fix($core): prioritise vuepress dependencies over cwd node_modules (close: #1708) (#1720)
1 parent 78aecbd commit 52f421b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vuepress/core/lib/node/webpack/createBaseConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,5 +310,5 @@ function getLastCommitHash () {
310310
}
311311

312312
function getModulePaths () {
313-
return [path.resolve(process.cwd(), 'node_modules')].concat(module.paths)
313+
return module.paths.concat([path.resolve(process.cwd(), 'node_modules')])
314314
}

0 commit comments

Comments
 (0)