Skip to content

Commit 0a2c1eb

Browse files
aeczhansl
authored andcommitted
fix(@angular/cli): add explicit source-map-support dependency (#7191)
karma plugin relies on source-map-support being a dependency of karma-source-map-support and npm 3+ flat dependency tree. pnpm/pnpm#863
1 parent 8bbf0ef commit 0a2c1eb

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"silent-error": "^1.0.0",
9191
"source-map": "^0.5.6",
9292
"source-map-loader": "^0.2.0",
93+
"source-map-support": "^0.4.1",
9394
"style-loader": "^0.13.1",
9495
"stylus": "^0.54.5",
9596
"stylus-loader": "^3.0.1",

packages/@angular/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"semver": "^5.1.0",
7575
"silent-error": "^1.0.0",
7676
"source-map-loader": "^0.2.0",
77+
"source-map-support": "^0.4.1",
7778
"istanbul-instrumenter-loader": "^2.0.0",
7879
"style-loader": "^0.13.1",
7980
"stylus": "^0.54.5",

packages/@angular/cli/plugins/karma.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { KarmaWebpackThrowError } from './karma-webpack-throw-error';
1212
* Enumerate needed (but not require/imported) dependencies from this file
1313
* to let the dependency validator know they are used.
1414
*
15+
* require('source-map-support')
1516
* require('karma-source-map-support')
1617
*/
1718

0 commit comments

Comments
 (0)