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 8c1e82f commit c4b23f3Copy full SHA for c4b23f3
generators/app/templates/gulp/config.js
@@ -1,6 +1,6 @@
1
import util from 'gulp-util';
2
3
-const production = util.env.production || util.env.prod || false;
+const production = util.env.production || util.env.prod || util.env._.indexOf('build') !== -1 || false;
4
const destPath = 'build';
5
6
const config = {
generators/app/templates/webpack.config.js
@@ -1,6 +1,5 @@
const webpack = require('webpack');
const path = require('path');
-const util = require('gulp-util');
const config = require('./gulp/config');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
0 commit comments