Skip to content

Commit

Permalink
Update packages/@vuepress/core/lib/node/webpack/createBaseConfig.js
Browse files Browse the repository at this point in the history
Co-Authored-By: meteorlxy <[email protected]>
  • Loading branch information
psalaets and meteorlxy authored Apr 20, 2020
1 parent 71875f0 commit 513f559
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@vuepress/core/lib/node/webpack/createBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ module.exports = function createBaseConfig (context, isServer) {
presets: [
[require.resolve('@vue/babel-preset-app'), {
entryFiles: [
path.resolve(__dirname, '../../client/clientEntry.js'),
path.resolve(__dirname, '../../client/serverEntry.js')
path.resolve(__dirname, '../../client', isServer ? 'serverEntry.js' : 'clientEntry.js')
]
}]
]
Expand Down

0 comments on commit 513f559

Please sign in to comment.