about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-09-15 00:59:48 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-09-14 17:59:48 +0200
commit0ddbccf7e6303f3b524628e210bdba5654d5c421 (patch)
tree15f8257614fdb9c7a6bc3b74bdbd3688525f493c /config/webpack
parent64a5561b5afe0cd125498a245f8b27ea3d4d133c (diff)
Upgrade Babel to version 7.0.0 (#5925)
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/loaders/babel.js1
-rw-r--r--config/webpack/production.js1
2 files changed, 0 insertions, 2 deletions
diff --git a/config/webpack/loaders/babel.js b/config/webpack/loaders/babel.js
index e17d2fa70..7509617fd 100644
--- a/config/webpack/loaders/babel.js
+++ b/config/webpack/loaders/babel.js
@@ -7,7 +7,6 @@ module.exports = {
   exclude: /node_modules/,
   loader: 'babel-loader',
   options: {
-    forceEnv: env,
     cacheDirectory: env === 'development' ? false : resolve(__dirname, '..', '..', '..', 'tmp', 'cache', 'babel-loader'),
   },
 };
diff --git a/config/webpack/production.js b/config/webpack/production.js
index 27a78108b..aca37059e 100644
--- a/config/webpack/production.js
+++ b/config/webpack/production.js
@@ -69,7 +69,6 @@ module.exports = merge(sharedConfig, {
 
   plugins: [
     new CompressionPlugin({
-      asset: '[path].gz[query]',
       algorithm: compressionAlgorithm,
       test: /\.(js|css|html|json|ico|svg|eot|otf|ttf)$/,
     }),