8000 Add name:pyscript to minified output (#1054) · DindyalM/pyscriptErrors@3721d2c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3721d2c

Browse files
authored
Add name:pyscript to minified output (pyscript#1054)
1 parent e0dda0e commit 3721d2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyscriptjs/rollup.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,18 @@ export default {
2525
input: "src/main.ts",
2626
output:[
2727
{
28-
sourcemap: true,
28+
file: "build/pyscript.js",
2929
format: "iife",
30+
sourcemap: true,
3031
inlineDynamicImports: true,
3132
name: "pyscript",
32-
file: "build/pyscript.js",
3333
},
3434
{
3535
file: "build/pyscript.min.js",
3636
format: "iife",
3737
sourcemap: true,
3838
inlineDynamicImports: true,
39+
name: "pyscript",
3940
plugins: [terser()],
4041
},
4142
],

0 commit comments

Comments
 (0)
0