From 8a2adbeee428188fb72c9422e68f7f41c098530c Mon Sep 17 00:00:00 2001 From: Atinux Date: Fri, 27 Oct 2017 12:17:35 +0200 Subject: [PATCH] patch: Fix typo in warning --- lib/builder/webpack/client.config.js | 2 +- lib/builder/webpack/server.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/builder/webpack/client.config.js b/lib/builder/webpack/client.config.js index eee26861ef..2d9d9de909 100644 --- a/lib/builder/webpack/client.config.js +++ b/lib/builder/webpack/client.config.js @@ -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, diff --git a/lib/builder/webpack/server.config.js b/lib/builder/webpack/server.config.js index 6e2ebf6cfc..2ee1809780 100644 --- a/lib/builder/webpack/server.config.js +++ b/lib/builder/webpack/server.config.js @@ -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,