From 8bc0d3bb8f3c720c500ccf9e2eacdd3c06528276 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Tue, 24 Apr 2018 21:59:24 +0100 Subject: [PATCH] Stop pinning webpack-sources to v1.0.1 It was required to work around a source map bug when using newer `webpack-sources` with `babel-minify-webpack-plugin`: https://github.com/webpack-contrib/babel-minify-webpack-plugin/issues/68 However now that we're using `uglify-es` instead, we can stop pinning the `webpack-sources` version and pick up some of the bug/perf fixes: https://github.com/webpack/webpack-sources/releases --- packages/banner/package.json | 6 +----- packages/compile-loader/package.json | 3 --- packages/dev-server/package.json | 6 +----- packages/env/package.json | 6 +----- packages/hot/package.json | 6 +----- packages/html-template/package.json | 3 --- packages/karma/package.json | 6 +----- packages/library/package.json | 4 ---- packages/neutrino/package.json | 4 ---- packages/node/package.json | 6 +----- packages/web/package.json | 4 ---- 11 files changed, 6 insertions(+), 48 deletions(-) diff --git a/packages/banner/package.json b/packages/banner/package.json index b12959f32..fedf85e58 100644 --- a/packages/banner/package.json +++ b/packages/banner/package.json @@ -16,9 +16,6 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", @@ -26,8 +23,7 @@ }, "dependencies": { "deepmerge": "^1.5.2", - "webpack": "^4.6.0", - "webpack-sources": "1.0.1" + "webpack": "^4.6.0" }, "peerDependencies": { "neutrino": "^8.0.0" diff --git a/packages/compile-loader/package.json b/packages/compile-loader/package.json index c23b79777..ed82638d2 100644 --- a/packages/compile-loader/package.json +++ b/packages/compile-loader/package.json @@ -17,9 +17,6 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", diff --git a/packages/dev-server/package.json b/packages/dev-server/package.json index 34da3cad0..5bb1616b3 100644 --- a/packages/dev-server/package.json +++ b/packages/dev-server/package.json @@ -20,9 +20,6 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", @@ -32,8 +29,7 @@ "deepmerge": "^1.5.2", "opn": "^5.1.0", "webpack": "^4.6.0", - "webpack-dev-server": "^3.1.3", - "webpack-sources": "1.0.1" + "webpack-dev-server": "^3.1.3" }, "peerDependencies": { "neutrino": "^8.0.0" diff --git a/packages/env/package.json b/packages/env/package.json index b764807a5..959c382eb 100644 --- a/packages/env/package.json +++ b/packages/env/package.json @@ -18,17 +18,13 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", "yarn": ">=1.2.1" }, "dependencies": { - "webpack": "^4.6.0", - "webpack-sources": "1.0.1" + "webpack": "^4.6.0" }, "peerDependencies": { "neutrino": "^8.0.0" diff --git a/packages/hot/package.json b/packages/hot/package.json index 4ebc2d20e..391b5b047 100644 --- a/packages/hot/package.json +++ b/packages/hot/package.json @@ -19,17 +19,13 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", "yarn": ">=1.2.1" }, "dependencies": { - "webpack": "^4.6.0", - "webpack-sources": "1.0.1" + "webpack": "^4.6.0" }, "peerDependencies": { "neutrino": "^8.0.0" diff --git a/packages/html-template/package.json b/packages/html-template/package.json index 2a8e56191..fb42a171a 100644 --- a/packages/html-template/package.json +++ b/packages/html-template/package.json @@ -17,9 +17,6 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", diff --git a/packages/karma/package.json b/packages/karma/package.json index 07852be1e..e61a42a8c 100644 --- a/packages/karma/package.json +++ b/packages/karma/package.json @@ -16,9 +16,6 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", @@ -37,8 +34,7 @@ "mocha": "^5.0.0", "mocha-coverage-reporter": "^0.0.1", "ramda": "^0.25.0", - "webpack": "^4.6.0", - "webpack-sources": "1.0.1" + "webpack": "^4.6.0" }, "peerDependencies": { "neutrino": "^8.0.0" diff --git a/packages/library/package.json b/packages/library/package.json index a46a705f6..b1cb610d5 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -24,9 +24,6 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", @@ -42,7 +39,6 @@ "deepmerge": "^1.5.2", "webpack": "^4.6.0", "webpack-node-externals": "^1.6.0", - "webpack-sources": "1.0.1", "worker-loader": "^1.0.0" }, "peerDependencies": { diff --git a/packages/neutrino/package.json b/packages/neutrino/package.json index c171e699a..9bdcb9b3e 100644 --- a/packages/neutrino/package.json +++ b/packages/neutrino/package.json @@ -21,9 +21,6 @@ "scripts": { "test": "ava test" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", @@ -42,7 +39,6 @@ "webpack": "^4.6.0", "webpack-chain": "^4.6.0", "webpack-dev-server": "^3.1.3", - "webpack-sources": "1.0.1", "yargs": "^11.0.0" } } diff --git a/packages/node/package.json b/packages/node/package.json index 4bf058a47..685b1d6aa 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -17,9 +17,6 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", @@ -36,8 +33,7 @@ "deepmerge": "^1.5.2", "ramda": "^0.25.0", "webpack": "^4.6.0", - "webpack-node-externals": "^1.6.0", - "webpack-sources": "1.0.1" + "webpack-node-externals": "^1.6.0" }, "peerDependencies": { "neutrino": "^8.0.0" diff --git a/packages/web/package.json b/packages/web/package.json index c49e3a787..8650eef8f 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -17,9 +17,6 @@ "publishConfig": { "access": "public" }, - "resolutions": { - "webpack-sources": "1.0.1" - }, "engines": { "node": ">=8", "npm": ">=5.4.0", @@ -44,7 +41,6 @@ "html-webpack-include-sibling-chunks-plugin": "^0.1.4", "webpack": "^4.6.0", "webpack-manifest-plugin": "^2.0.0", - "webpack-sources": "1.0.1", "worker-loader": "^1.0.0" }, "peerDependencies": {