enable sourcemaps everywhere

This commit is contained in:
Justin Halsall
2026-04-01 12:00:00 +08:00
parent 5dbb182774
commit d8285664dc

View File

@@ -38,6 +38,7 @@ export default entries.map((output) => ({
file: output.file, file: output.file,
format: output.format, format: output.format,
name: output.name, name: output.name,
sourcemap: true,
exports: 'auto', exports: 'auto',
}, },
plugins: [ plugins: [
@@ -65,7 +66,7 @@ export default entries.map((output) => ({
}), }),
commonjs(), commonjs(),
typescript({ sourceMap: !production }), typescript(),
css({ css({
// we'll extract any component CSS out into // we'll extract any component CSS out into