Stop minification to maintain the telemetry payload integrity.

This commit is contained in:
Chuck Harmston 2017-02-21 16:53:05 -07:00 коммит произвёл Chuck Harmston
Родитель ba2c7fffa7
Коммит e4ae63e6c1
2 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -18,7 +18,6 @@
"babel-preset-es2015": "^6.22.0",
"babel-preset-latest": "^6.16.0",
"babel-preset-react": "^6.23.0",
"babili-webpack-plugin": "0.0.10",
"classnames": "^2.2.5",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.26.1",

Просмотреть файл

@ -2,11 +2,9 @@ const webpack = require('webpack');
const { exec, mkdir } = require('shelljs');
const AfterBuildPlugin = require('./lib/webpack-after-build');
const BabiliPlugin = require('babili-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const ThrowErrorPlugin = require('./lib/webpack-error');
const PRODUCTION = process.env.NODE_ENV && process.env.NODE_ENV === 'production';
const WATCH_MODE = process.argv.includes('--watch');
const config = {
@ -81,8 +79,4 @@ const config = {
]
};
if (PRODUCTION) {
config.plugins.push(new BabiliPlugin());
}
module.exports = config;