Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /