Skip to content

Commit e44464e

Browse files
authored
TINY-13884: Disable source maps in bedrock's auto mode (#164)
1 parent 528ebf7 commit e44464e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
9+
### Changed
10+
- `bedrock-auto` no longer generates source maps. #TINY-13384
11+
712
## 16.0.0 - 2026-02-20
813

914
### Changed

modules/server/src/main/ts/bedrock/compiler/Rspack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const getWebPackConfigTs = (tsConfigFile: string, scratchFile: string, dest: str
1616

1717
return {
1818
entry: scratchFile,
19-
devtool: manualMode ? 'inline-source-map' : 'source-map',
19+
devtool: manualMode ? 'inline-source-map' : false,
2020
mode: manualMode ? 'development' : 'none',
2121
target: ['web', 'es5'],
2222

modules/server/src/main/ts/bedrock/compiler/Webpack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const getWebPackConfigTs = (tsConfigFile: string, scratchFile: string, dest: str
4949
return {
5050
stats: 'none',
5151
entry: scratchFile,
52-
devtool: manualMode ? 'inline-source-map' : 'source-map',
52+
devtool: manualMode ? 'inline-source-map' : false,
5353
mode: manualMode ? 'development' : 'none',
5454
target: [ 'web', 'es5' ],
5555

0 commit comments

Comments
 (0)