10000 Enable to generate the source map (#325) · whatevergeek/pyscript@53a21b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53a21b7

Browse files
authored
Enable to generate the source map (pyscript#325)
1 parent 363f375 commit 53a21b7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyscriptjs/rollup.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,12 @@ export default {
8080
name: "app",
8181
file: "examples/build/pyscript.js",
8282
},
83-
{ file: "examples/build/pyscript.min.js", format: "iife", plugins: [terser()] },
83+
{
84+
file: "examples/build/pyscript.min.js",
85+
format: "iife",
86+
sourcemap: true,
87+
plugins: [terser()],
88+
},
8489
],
8590
plugins: [
8691
svelte({

0 commit comments

Comments
 (0)
0