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 7d0bd99 commit dcbc4b3Copy full SHA for dcbc4b3
packages/@angular/cli/models/webpack-configs/common.ts
@@ -92,7 +92,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
92
// Prevent asset configurations from writing outside of the output path, except if the user
93
// specify a configuration flag.
94
// Also prevent writing outside the project path. That is not overridable.
95
- const absoluteOutputPath = path.resolve(buildOptions.outputPath);
+ const absoluteOutputPath = path.resolve(projectRoot, buildOptions.outputPath);
96
const absoluteAssetOutput = path.resolve(absoluteOutputPath, asset.output);
97
const outputRelativeOutput = path.relative(absoluteOutputPath, absoluteAssetOutput);
98
0 commit comments