diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2024-06-06 22:13:59 -0400 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2024-06-06 22:13:59 -0400 |
| commit | fed0577a333a5e775cfeaf96aa3db3a40c588bca (patch) | |
| tree | 5f3b26e1c0ae69d470329df9b53319e73d45e8cd /process-static | |
| parent | 3eb2db8fa18749e1edac7705173cf91cbcec0ac7 (diff) | |
use ECMAScript 2022 for terser
Diffstat (limited to 'process-static')
| -rwxr-xr-x | process-static | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process-static b/process-static index e29dbc33..0147ea4f 100755 --- a/process-static +++ b/process-static @@ -42,7 +42,7 @@ stylelint static-tmp/**/*.css find static-tmp -name '*.css' -exec csso {} -o {} \; eslint static-tmp/**/!(fastboot.min.m|z-worker-pako.|pako_inflate.min.|)js -find static-tmp -name '*.js' -exec terser --ecma 2021 --module -cmo {} {} \; +find static-tmp -name '*.js' -exec terser --ecma 2022 --module -cmo {} {} \; replace= for file in static-tmp/**/*.css static-tmp/js/*.js static-tmp/**/!(bimi|favicon).svg; do |
