From e4ae63e6c101d9305ad7e831095600a59741687c Mon Sep 17 00:00:00 2001 From: Chuck Harmston Date: Tue, 21 Feb 2017 16:53:05 -0700 Subject: [PATCH] Stop minification to maintain the telemetry payload integrity. --- package.json | 1 - webpack.config.js | 6 ------ 2 files changed, 7 deletions(-) diff --git a/package.json b/package.json index 1513061..b2e3a6b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/webpack.config.js b/webpack.config.js index d9ec603..36dc554 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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;