enable sourcemaps everywhere

This commit is contained in:
Justin Halsall
2021-04-22 15:35:26 +02:00
parent 922919d251
commit 30fe993e99

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