remove terser since it's breaking specific examples (#395)

This commit is contained in:
Fabio Pliger
2022-05-16 10:58:02 -05:00
committed by GitHub
parent 1e8aa87b0a
commit 8670f96d21

View File

@@ -84,7 +84,7 @@ export default {
file: "examples/build/pyscript.min.js",
format: "iife",
sourcemap: true,
plugins: [terser()],
// plugins: [terser()],
},
],
plugins: [
@@ -113,7 +113,7 @@ export default {
copyPythonFiles("./src/", "./examples/build", true),
!production && serve(),
!production && livereload("public"),
production && terser(),
// production && terser(),
!production && serve({
port: 8080,
contentBase: 'examples'}