From ac83a9e1728715e7df39d3af8aff03c5271a938d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 18 Jun 2018 13:06:44 +0300 Subject: webpack optimizations --- vnext/package.json | 4 +- vnext/src/views/index.html | 2 - vnext/webpack.config.js | 84 ++++++++-- vnext/yarn.lock | 400 +++++++++++++++++++++++++++++++++++++-------- 4 files changed, 398 insertions(+), 92 deletions(-) (limited to 'vnext') diff --git a/vnext/package.json b/vnext/package.json index bc4067d69..83dff46ca 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -13,15 +13,17 @@ "devDependencies": { "babel-core": "^6.26.3", "babel-loader": "^7.1.4", - "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "connect-history-api-fallback": "^1.5.0", "css-loader": "^0.28.11", "file-loader": "^1.1.11", + "html-loader": "^0.5.5", + "html-webpack-plugin": "^3.2.0", "internal-ip": "^3.0.1", "koa-connect": "^2.0.1", "mini-css-extract-plugin": "^0.4.0", + "optimize-css-assets-webpack-plugin": "^4.0.2", "postcss-loader": "^2.1.5", "prop-types": "^15.6.1", "style-loader": "^0.21.0", diff --git a/vnext/src/views/index.html b/vnext/src/views/index.html index 19dc6bfcd..cc104dcac 100644 --- a/vnext/src/views/index.html +++ b/vnext/src/views/index.html @@ -13,7 +13,6 @@ - @@ -45,6 +44,5 @@
-