You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,20 @@ There are workarounds for both:
98
98
}
99
99
```
100
100
101
+
### If using Angular and getting `Not allowed to load local resource:` errors
102
+
103
+
*The short version*: set up and use a custom webpack config file and add this under `module`:
104
+
```typescript
105
+
parser: {
106
+
javascript: {
107
+
url: true,
108
+
},
109
+
},
110
+
```
111
+
112
+
See [this issue](https://github.com/CodinGame/monaco-vscode-api/issues/186) or this [StackOverflow answer](https://stackoverflow.com/a/75252098) for more details, and [this discussion](https://github.com/angular/angular-cli/issues/24617) for more context.
0 commit comments