File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/angular_devkit/build_angular/src/webpack/configs Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 9
9
// TODO: cleanup this file, it's copied as is from Angular CLI.
10
10
import { CompilerOptions } from '@angular/compiler-cli' ;
11
11
import { buildOptimizerLoaderPath } from '@angular-devkit/build-optimizer' ;
12
+ import { getSystemPath } from '@angular-devkit/core' ;
12
13
import {
13
14
AngularCompilerPlugin ,
14
15
AngularCompilerPluginOptions ,
@@ -69,7 +70,7 @@ function createIvyPlugin(
69
70
const fileReplacements : Record < string , string > = { } ;
70
71
if ( buildOptions . fileReplacements ) {
71
72
for ( const replacement of buildOptions . fileReplacements ) {
72
- fileReplacements [ replacement . replace ] = replacement . with ;
73
+ fileReplacements [ getSystemPath ( replacement . replace ) ] = getSystemPath ( replacement . with ) ;
73
74
}
74
75
}
75
76
You can’t perform that action at this time.
0 commit comments