Skip to content

Commit 851693c

Browse files
authored
Update sourceMapPathOverrides for angular-cli 8.1
1 parent 4ebeb20 commit 851693c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Angular-CLI/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,14 @@ Then click on the gear icon to configure a launch.json file, selecting **Chrome*
5151
"request": "launch",
5252
"preLaunchTask": "npm: start",
5353
"url": "http://localhost:4200/#",
54-
"webRoot": "${workspaceFolder}"
54+
"webRoot": "${workspaceFolder}",
55+
"sourceMapPathOverrides": {
56+
"webpack:/*": "${webRoot}/*",
57+
"/./*": "${webRoot}/*",
58+
"/src/*": "${webRoot}/*",
59+
"/*": "*",
60+
"/./~/*": "${webRoot}/node_modules/*"
61+
}
5562
},
5663
{
5764
"name": "ng test",

0 commit comments

Comments
 (0)