mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +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 isDev = this.options.dev
|
||||||
const extendedConfig = this.options.build.extend.call(this, config, {
|
const extendedConfig = this.options.build.extend.call(this, config, {
|
||||||
get dev () {
|
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
|
return isDev
|
||||||
},
|
},
|
||||||
isDev,
|
isDev,
|
||||||
|
@ -79,7 +79,7 @@ export default function webpackServerConfig () {
|
|||||||
const isDev = this.options.dev
|
const isDev = this.options.dev
|
||||||
const extendedConfig = this.options.build.extend.call(this, config, {
|
const extendedConfig = this.options.build.extend.call(this, config, {
|
||||||
get dev () {
|
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
|
return isDev
|
||||||
},
|
},
|
||||||
isDev,
|
isDev,
|
||||||
|
Loading…
Reference in New Issue
Block a user