swc/crates/dbg-swc
Donny/강동윤 1c1c9f0eae
fix(es/minifier): Fix bugs (#2955)
swc_ecma_minifier:
 - Improve the script for extracting inputs from next.js app.
 - Ensure the name is removed on inlining.
 - Respect `inline_prevented`.
2022-01-05 05:12:52 +09:00
..
scripts refactor(dbg-swc): Rename esdiff to dbg-swc (#3189) 2022-01-04 18:39:43 +09:00
src fix(es/minifier): Fix bugs (#2955) 2022-01-05 05:12:52 +09:00
Cargo.toml chore: Publish crates 2022-01-04 19:29:50 +09:00
README.md refactor(dbg-swc): Rename esdiff to dbg-swc (#3189) 2022-01-04 18:39:43 +09:00

dbg-swc

dbg-swc reduce-min

dbg-swc reduce-min --build '' --test 'npm test.spec' --working-dir ~/src/ionic-framework/packages/react/ ~/src/ionic-framework/packages/react/src/index.ts

(TODO) e.g. next.js app

dbg-swc reduce-min --build 'rm -rf .next && npx next build' --test 'dbg-swc grab-console http://localhost:3000 --script test.js --start "npm start"'  ~/your/next/app/pages/index.js ~/your/next/app/pages/index.js