Skip to content

Commit

Permalink
fix(@angular/cli): fix env path
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitarora authored and filipesilva committed Jun 7, 2017
1 parent beb7514 commit 95817d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@angular/cli/models/webpack-configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function _createAotPlugin(wco: WebpackConfigOptions, options: any) {
const envFile = appConfig.environments[buildOptions.environment];

hostReplacementPaths = {
[path.join(appRoot, sourcePath)]: path.join(appRoot, envFile)
[path.resolve(appRoot, sourcePath)]: path.resolve(appRoot, envFile)
};
}

Expand Down

0 comments on commit 95817d2

Please sign in to comment.