We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3ebb9b commit 7f572dbCopy full SHA for 7f572db
packages/@angular/cli/models/webpack-configs/common.ts
@@ -90,7 +90,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
90
// Prevent asset configurations from writing outside of the output path, except if the user
91
// specify a configuration flag.
92
// Also prevent writing outside the project path. That is not overridable.
93
- const absoluteOutputPath = path.resolve(buildOptions.outputPath);
+ const absoluteOutputPath = path.resolve(projectRoot, buildOptions.outputPath);
94
const absoluteAssetOutput = path.resolve(absoluteOutputPath, asset.output);
95
const outputRelativeOutput = path.relative(absoluteOutputPath, absoluteAssetOutput);
96
0 commit comments