diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 73971c6..a33039a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: run: | npx terser safe-template-parser.js \ --compress passes=3,pure_getters=true,keep_fargs=false,unsafe=true,unsafe_comps=true,unsafe_math=true,unsafe_proto=true,unsafe_regexp=true,conditionals=true,evaluate=true,booleans=true,loops=true,unused=true,hoist_funs=true,keep_fargs=false,hoist_vars=true,if_return=true,join_vars=true,drop_console=true,drop_debugger=true,ecma=2015,toplevel=true \ - --mangle reserved=['parseTemplateString'] \ + --mangle reserved=['parseTemplateString'],toplevel=true,properties --mangle-props keep_quoted=true,regex=/^_/ \ --output safe-template-parser.min.js - name: Calculate file sizes