Skip to content

Commit cad7539

Browse files
committed
fix(@angular/cli): add missing webpack-sources dep
`license-webpack-plugin` has a peer dependency on `webpack-sources` that was being satisfied via hoisting. Fix #8075
1 parent 7f5529d commit cad7539

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@
141141
"through": "^2.3.6",
142142
"ts-node": "^3.2.0",
143143
"tslint": "^5.1.0",
144-
"walk-sync": "^0.3.1"
144+
"walk-sync": "^0.3.1",
145+
"webpack-sources": ">= 1.0.0"
145146
},
146147
"optionalDependencies": {
147148
"node-sass": "^4.3.0"

packages/@angular/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"webpack-dev-middleware": "~1.12.0",
8282
"webpack-dev-server": "~2.7.1",
8383
"webpack-merge": "^4.1.0",
84+
"webpack-sources": ">= 1.0.0",
8485
"webpack-subresource-integrity": "^1.0.1",
8586
"zone.js": "^0.8.14"
8687
},

0 commit comments

Comments
 (0)