Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How was example-metafile.json generated? #45

Open
mootari opened this issue May 11, 2024 · 1 comment
Open

How was example-metafile.json generated? #45

mootari opened this issue May 11, 2024 · 1 comment

Comments

@mootari
Copy link

mootari commented May 11, 2024

The Bundle Size Analyzer references an example-metafile.json which is not included in the repository, and as far as I can tell neither npm run build nor make -C src/analyze generate it.

How does the file get included in the gh-pages build, and how can I generate it myself?

@evanw
Copy link
Contributor

evanw commented May 13, 2024

It was generated manually and placed in the gh-pages branch manually. You can sort of generate it yourself by running make bench-readmin-esbuild in the esbuild repo and then adding the --metafile flag to the esbuild command that does the build. But don't expect it to generate the exact same file as esbuild has changed in the meantime. It's just meant to be a one-off example file. It doesn't have a lot of process around it.

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

No branches or pull requests

2 participants