mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
feat(webpack): use vue-meta
browser build for client bundle (#6477)
This commit is contained in:
parent
ffc005c014
commit
a2be217876
@ -224,7 +224,8 @@ export default class WebpackBaseConfig {
|
|||||||
alias () {
|
alias () {
|
||||||
return {
|
return {
|
||||||
...this.buildContext.options.alias,
|
...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'}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user