1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

got pyscript.js at 1.2mb down to pyscript.min.js at 455k

This commit is contained in:
Michael Verhulst
2022-04-29 21:31:39 -05:00
parent 2df4400405
commit f11a618d3d

View File

@@ -37,12 +37,15 @@ function serve_() {
export default {
input: "src/main.ts",
output: {
output:[
{
sourcemap: true,
format: "iife",
name: "app",
file: "examples/build/pyscript.js",
},
},
{ file: "examples/build/pyscript.min.js", format: "iife", plugins: [terser()] },
],
plugins: [
svelte({
// add postcss config with tailwind