swc/crates/esdiff
Donny/강동윤 51c792eb30
feat(esdiff): Create a command to determine problematic file (#3181)
swc_ecma_diff:
 - Fix diff logic of `Vec`.

esdiff:
 - `diff-min`: Normalize `Str.has_escape`.
 - `diff-min`: Normalize empty var declaration.
 - Add `redue-min`.
2022-01-04 17:40:40 +09:00
..
scripts feat(esdiff): Create a command to determine problematic file (#3181) 2022-01-04 17:40:40 +09:00
src feat(esdiff): Create a command to determine problematic file (#3181) 2022-01-04 17:40:40 +09:00
Cargo.toml feat(esdiff): Create a command to determine problematic file (#3181) 2022-01-04 17:40:40 +09:00
README.md feat(esdiff): Create a command to determine problematic file (#3181) 2022-01-04 17:40:40 +09:00

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