mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +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`.
8 lines
171 B
Bash
Executable File
8 lines
171 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
"$MINIFY" input.js
|
|
$SCRIPT_DIR/compare.js input.js output.js
|