mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(webpack): resolve consola to latest (#5729)
This commit is contained in:
parent
62a593dcfd
commit
1f5c6025bd
@ -202,7 +202,10 @@ export default class WebpackBaseConfig {
|
||||
}
|
||||
|
||||
alias() {
|
||||
return { ...this.buildContext.options.alias }
|
||||
return {
|
||||
...this.buildContext.options.alias,
|
||||
consola: require.resolve(`consola/dist/consola${this.isServer ? '' : '.browser'}.js`)
|
||||
}
|
||||
}
|
||||
|
||||
rules() {
|
||||
|
Loading…
Reference in New Issue
Block a user