commit b24074488d507d0110b91798e6f423e298cd0da2
parent 097c1a3bcbd8731e3fa9817dcdf6fcc7fe27620e
Author: Pavel Lang <langpavel@phpskelet.org>
Date: Thu, 16 Feb 2017 03:31:08 +0100
Revert "Show message if stats will be generated for dev"
This reverts commit 097c1a3bcbd8731e3fa9817dcdf6fcc7fe27620e.
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/tools/stats.js b/tools/stats.js
@@ -12,13 +12,7 @@ import { writeFile } from 'fs';
import { open } from 'openurl';
import webpackConfig from './webpack.config';
-const isDebug = !process.argv.includes('--release');
const WEBPACK_ANALYSER_URL = 'http://webpack.github.io/analyse/';
-
-if (isDebug) {
- console.log('INFO: You should run `yarn stats -- --release` if you want production stats');
-}
-
/**
* Creates application stats for client bundle.
*/