mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
1c1c9f0eae
swc_ecma_minifier: - Improve the script for extracting inputs from next.js app. - Ensure the name is removed on inlining. - Respect `inline_prevented`.
7 lines
152 B
Bash
Executable File
7 lines
152 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
|
|
find ./inputs/ -type f -name '*.js' -print0 | xargs -0 -I {} sh -c '\
|
|
echo "Processing {}"
|
|
./scripts/reduce.sh {}' |