Skip to content

Commit fb324d5

Browse files
committed
fix($core): webpack externals (ref: #451)
1 parent 23b0ce3 commit fb324d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function createServerConfig (ctx) {
1616

1717
config
1818
.target('node')
19-
.externals([/^vue|vue-router$/])
19+
.externals([/^(vue|vue-router)$/])
2020
.devtool('source-map')
2121

2222
// no need to minimize server build

0 commit comments

Comments
 (0)