We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f9caa9 commit f1195d0Copy full SHA for f1195d0
packages/ngtools/webpack/src/paths-plugin.ts
@@ -141,10 +141,16 @@ export class TypeScriptPathsPlugin {
141
return;
142
}
143
144
+ // Absolute requests are not mapped
145
+ if (path.isAbsolute(originalRequest)) {
146
+ callback();
147
+
148
+ return;
149
+ }
150
151
switch (originalRequest[0]) {
152
case '.':
- case '/':
- // Relative or absolute requests are not mapped
153
+ // Relative requests are not mapped
154
callback();
155
156
0 commit comments