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