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, 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