зеркало из https://github.com/mozilla/pulse.git
Stop minification to maintain the telemetry payload integrity.
This commit is contained in:
Родитель
ba2c7fffa7
Коммит
e4ae63e6c1
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче