Skip to content

feat(utoopack): add ev analyze and JSONL export - #161

Draft
fireairforce wants to merge 1 commit into
mainfrom
zoomdong/ev-analyze
Draft

fireairforce wants to merge 1 commit into
mainfrom
zoomdong/ev-analyze

Conversation

@fireairforce

Copy link
Copy Markdown
Member

ev analyze generates a native bundle report from EVJS's production configuration and generated entries. It serves the report by default, or writes a static report with --output. ev analyze export streams JSONL from a saved report without loading app config or compiling.

ev analyze
ev analyze --output --output-dir reports/bundle-before
ev analyze export --report reports/bundle-before --environment client > bundle-before.jsonl

Existing build, dev, and stats behavior and the default Pack dependency are unchanged. This draft requires an Analyzer-capable Pack; the preview was verified with @utoo/pack@1.5.40-alpha.1 in a separate workspace (utooland/utoo#3444).

Validation: lint, type checks, full test suite, and English/Chinese docs build. Ran the SPA and MPA examples through report capture and JSONL export, including server filtering and the local report UI. All 9 existing SPA dist files were byte-for-byte unchanged.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant