feat(webpack): use vue-meta browser build for client bundle (#6477)

This commit is contained in:
Pim 2019-09-29 10:07:12 +02:00 committed by Pooya Parsa
parent ffc005c014
commit a2be217876

View File

@ -224,7 +224,8 @@ export default class WebpackBaseConfig {
alias () {
return {
...this.buildContext.options.alias,
consola: require.resolve(`consola/dist/consola${this.isServer ? '' : '.browser'}.js`)
consola: require.resolve(`consola/dist/consola${this.isServer ? '' : '.browser'}.js`),
'vue-meta': require.resolve(`vue-meta${this.isServer ? '' : '/dist/vue-meta.esm.browser.js'}`)
}
}