Integrate changes from #3487

This commit is contained in:
Hypnosphi 2018-04-26 02:26:08 +03:00
parent 6e17afcb37
commit 9a919ffbb4

View File

@ -17,7 +17,7 @@ import { includePaths, excludePaths, nodeModulesPaths, loadEnv, nodePaths } from
import babelLoaderConfig from './babel';
import { version } from '../../../package.json';
export default function(configDir) {
export default function(configDir, quiet) {
const config = {
mode: 'development',
devtool: 'cheap-module-source-map',
@ -59,9 +59,9 @@ export default function(configDir) {
new webpack.HotModuleReplacementPlugin(),
new CaseSensitivePathsPlugin(),
new WatchMissingNodeModulesPlugin(nodeModulesPaths),
new webpack.ProgressPlugin(),
quiet ? null : new webpack.ProgressPlugin(),
new Dotenv({ silent: true }),
],
].filter(Boolean),
module: {
rules: [
{