mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-09 05:16:23 +10:00
fix($core): webpack externals (ref: #451)
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = function createServerConfig (ctx) {
|
||||
|
||||
config
|
||||
.target('node')
|
||||
.externals([/^vue|vue-router$/])
|
||||
.externals([/^(vue|vue-router)$/])
|
||||
.devtool('source-map')
|
||||
|
||||
// no need to minimize server build
|
||||
|
||||
Reference in New Issue
Block a user