Skip to content

Commit 572351d

Browse files
sumitarorafilipesilva
authored andcommitted
fix(@angular/cli): fix env path
1 parent 01b082a commit 572351d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@angular/cli/models/webpack-configs/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function _createAotPlugin(wco: WebpackConfigOptions, options: any) {
5959
const envFile = appConfig.environments[buildOptions.environment];
6060

6161
hostReplacementPaths = {
62-
[path.join(appRoot, sourcePath)]: path.join(appRoot, envFile)
62+
[path.resolve(appRoot, sourcePath)]: path.resolve(appRoot, envFile)
6363
};
6464
}
6565

0 commit comments

Comments
 (0)