File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/angular-rspack/src/lib/config Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export async function getCommonConfig(
63
63
output : {
64
64
uniqueName : normalizedOptions . projectName ?? 'rspack-angular' ,
65
65
publicPath : normalizedOptions . deployUrl ?? '' ,
66
- clean : normalizedOptions . deleteOutputPath ,
66
+ clean : false , // already taken care for by AngularRspackPlugin
67
67
crossOriginLoading,
68
68
trustedTypes : { policyName : 'angular#bundler' } ,
69
69
sourceMapFilename : normalizedOptions . sourceMap . scripts
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export async function _createConfig(
51
51
) ;
52
52
const hashFormat = getOutputHashFormat ( normalizedOptions . outputHashing ) ;
53
53
54
- if ( options . deleteOutputPath ) {
54
+ if ( normalizedOptions . deleteOutputPath ) {
55
55
await deleteOutputDir (
56
56
normalizedOptions . root ,
57
57
normalizedOptions . outputPath . base
You can’t perform that action at this time.
0 commit comments