All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
11 lines
274 B
Bash
11 lines
274 B
Bash
#!/bin/sh
|
|
wasm=dist/portfolio-*_bg.wasm
|
|
js=dist/portfolio-*.js
|
|
wasm-opt -O2 --fast-math --enable-simd $wasm -o $wasm
|
|
find dist/ \
|
|
-name "*.js" -o \
|
|
-name "*.pdf" -o \
|
|
-name "*.ico" -o \
|
|
-name "*.wasm" -o \
|
|
-name "*.html" -o \
|
|
-name "*.json" | parallel brotli -f
|