Skip to content

Commit 6b6b148

Browse files
authored
Merge pull request #547 from nextcloud-libraries/backport/546/stable1
[stable1] fix: Do not hide sourcemaps in production build
2 parents 2aa27a6 + 87ce923 commit 6b6b148

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

__tests__/__snapshots__/appconfig.spec.ts.snap

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
exports[`app config > replaces process.env 1`] = `
44
"/*! third party licenses: js/vendor.LICENSE.txt */
55
var e={};window.my_timezone=e.TZ;
6+
67
"
78
`;

lib/baseConfig.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function createBaseConfig(options: BaseOptions = {}): UserConfigFn {
144144
build: {
145145
minify: !!options.minify,
146146
cssTarget: browserslistToEsbuild(),
147-
sourcemap: isDev || 'hidden',
147+
sourcemap: true,
148148
target: browserslistToEsbuild(),
149149
},
150150
}),

0 commit comments

Comments
 (0)