patch: Fix typo in warning

This commit is contained in:
Atinux 2017-10-27 12:17:35 +02:00
parent 5384ee1a5c
commit 8a2adbeee4
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,