We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2434401 commit ad49f88Copy full SHA for ad49f88
lib/webpack.js
@@ -11,7 +11,7 @@ exports.chainWebpack = (webpackConfig) => {
11
const target = process.env.VUE_CLI_SSR_TARGET
12
if (!target) return
13
const isClient = target === 'client'
14
- const isProd = process.env.VUE_CLI_MODE === 'production'
+ const isProd = process.env.NODE_ENV === 'production'
15
16
// Remove unneeded plugins
17
webpackConfig.plugins.delete('hmr')
0 commit comments