Skip to content

Commit 0ddc1ad

Browse files
committed
fix(angular-rspack): do not generate sourceMaps when disabled
1 parent cacb0f2 commit 0ddc1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular-rspack/src/lib/config/config-utils/common-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function getCommonConfig(
4747
context: normalizedOptions.root,
4848
profile: normalizedOptions.statsJson,
4949
mode: isProduction ? 'production' : 'development',
50-
devtool: normalizedOptions.sourceMap.scripts ? 'source-map' : undefined,
50+
devtool: normalizedOptions.sourceMap.scripts ? 'source-map' : false,
5151
infrastructureLogging: {
5252
appendOnly: false,
5353
debug: normalizedOptions.verbose,

0 commit comments

Comments
 (0)