Skip to content

Commit 06f3026

Browse files
aeczfilipesilva
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 7f6ab5c commit 06f3026

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
@@ -91,6 +91,7 @@
9191
"silent-error": "^1.0.0",
9292
"source-map": "^0.5.6",
9393
"source-map-loader": "^0.2.0",
94+
"source-map-support": "^0.4.1",
9495
"style-loader": "^0.13.1",
9596
"stylus": "^0.54.5",
9697
"stylus-loader": "^3.0.1",

packages/@angular/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"semver": "^5.1.0",
7676
"silent-error": "^1.0.0",
7777
"source-map-loader": "^0.2.0",
78+
"source-map-support": "^0.4.1",
7879
"istanbul-instrumenter-loader": "^2.0.0",
7980
"style-loader": "^0.13.1",
8081
"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)