From 062c4476a70a5a3eeb2e989d9394f435fa68e0ab Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 5 Nov 2019 19:33:45 -0800 Subject: [PATCH] Remove redundant package --- config/webpack.library.js | 5 ++--- package.json | 1 - yarn.lock | 4 ---- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/config/webpack.library.js b/config/webpack.library.js index f49c93cc..7eeb1538 100644 --- a/config/webpack.library.js +++ b/config/webpack.library.js @@ -1,6 +1,5 @@ const path = require("path"); const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer"); -const UnminifiedWebpackPlugin = require("unminified-webpack-plugin"); module.exports = { devtool: "source-map", @@ -46,8 +45,6 @@ module.exports = { reportFilename: "library-report.html", openAnalyzer: false, }), - // Also generate non-minified bundles. - new UnminifiedWebpackPlugin(), ], performance: { // We do some crazy shit okay! Don't judge! @@ -55,7 +52,9 @@ module.exports = { maxAssetSize: 9000000, }, entry: { + bundle: "./js/webamp.js", "bundle.min": "./js/webamp.js", + "lazy-bundle": "./js/webampLazy.tsx", "lazy-bundle.min": "./js/webampLazy.tsx", }, output: { diff --git a/package.json b/package.json index 352b0f66..6dbc1bcd 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,6 @@ "style-loader": "^0.23.1", "tinyqueue": "^1.2.3", "typescript": "^3.7.2", - "unminified-webpack-plugin": "^2.0.0", "url-loader": "^1.1.2", "webpack": "^4.41.2", "webpack-bundle-analyzer": "^3.3.2", diff --git a/yarn.lock b/yarn.lock index aac221d6..0805f571 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10845,10 +10845,6 @@ universalify@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" -unminified-webpack-plugin@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unminified-webpack-plugin/-/unminified-webpack-plugin-2.0.0.tgz#9cd9c3f420003e968d6ed5ea365085be5e72df14" - unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"