Skip to content

Commit 0ba8bb2

Browse files
aeczfilipesilva
authored andcommitted
test(@ngtools/webpack): Move enhanced-resolve from peerDependencies to dependencies (#7385)
@ngtools/webpack requires a peer dependency of enhanced-resolve@^3.1.0. It currently relies on webpack providing this dependency and on NPM 3+ flat tree installation. Webpack could remove this dependency or NPM change the tree structure. This change also removes a NPM warning about missing peer dependency.
1 parent 0ea05eb commit 0ba8bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@ngtools/webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
},
2727
"dependencies": {
2828
"loader-utils": "^1.0.2",
29+
"enhanced-resolve": "^3.1.0",
2930
"magic-string": "^0.22.3",
3031
"source-map": "^0.5.6"
3132
},
3233
"peerDependencies": {
33-
"enhanced-resolve": "^3.1.0",
3434
"typescript": "^2.0.2",
3535
"webpack": "^2.2.0 || ^3.0.0"
3636
}

0 commit comments

Comments
 (0)