Enable to generate the source map (#325)

This commit is contained in:
woxtu
2022-05-12 09:18:28 +09:00
committed by GitHub
parent 363f3751f9
commit 53a21b74eb

View File

@@ -80,7 +80,12 @@ export default {
name: "app",
file: "examples/build/pyscript.js",
},
{ file: "examples/build/pyscript.min.js", format: "iife", plugins: [terser()] },
{
file: "examples/build/pyscript.min.js",
format: "iife",
sourcemap: true,
plugins: [terser()],
},
],
plugins: [
svelte({