mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
51c792eb30
swc_ecma_diff: - Fix diff logic of `Vec`. esdiff: - `diff-min`: Normalize `Str.has_escape`. - `diff-min`: Normalize empty var declaration. - Add `redue-min`. |
||
---|---|---|
.. | ||
scripts | ||
src | ||
Cargo.toml | ||
README.md |
esdiff
esdiff reduce-min
esdiff 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
esdiff reduce-min --build 'rm -rf .next && npx next build' --test 'esdiff grab-console http://localhost:3000 --script test.js --start "npm start"' ~/your/next/app/pages/index.js ~/your/next/app/pages/index.js