mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
patch: Fix typo in warning
This commit is contained in:
parent
5384ee1a5c
commit
8a2adbeee4
@ -224,7 +224,7 @@ export default function webpackClientConfig () {
|
||||
const isDev = this.options.dev
|
||||
const extendedConfig = this.options.build.extend.call(this, config, {
|
||||
get dev () {
|
||||
console.warn('dev has been deprecated into build.extend, please use isDev') // eslint-disable-line no-console
|
||||
console.warn('dev has been deprecated in build.extend(), please use isDev') // eslint-disable-line no-console
|
||||
return isDev
|
||||
},
|
||||
isDev,
|
||||
|
@ -79,7 +79,7 @@ export default function webpackServerConfig () {
|
||||
const isDev = this.options.dev
|
||||
const extendedConfig = this.options.build.extend.call(this, config, {
|
||||
get dev () {
|
||||
console.warn('dev has been deprecated into build.extend, please use isDev') // eslint-disable-line no-console
|
||||
console.warn('dev has been deprecated in build.extend(), please use isDev') // eslint-disable-line no-console
|
||||
return isDev
|
||||
},
|
||||
isDev,
|
||||
|
Loading…
Reference in New Issue
Block a user