-
-
Notifications
You must be signed in to change notification settings - Fork 137
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 to create a "metafile"? #121
Comments
hi @taschmidt, I checked the issue. As long as we are using esbuild's JavaScript API (not CLI), serverless-esbuild/src/index.ts Line 229 in b5a9bdb
|
Yeah sorry, I did do some digging in esbuild and saw that it appears you can only do it via code. It might be handy to check here if metafile is true and, if so, dump it out to meta.json or something. |
🎉 This issue has been resolved in version 1.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hey @taschmidt , if it's still relevant for you, I completed the fix that will save metafile alongside the main bundle. |
Awesome! Thanks so much! |
Thanks, get it. so we can have the solution:
|
I tried adding
metafile: meta.json
but got an error from esbuild that metafile must be a boolean. So I changed it tometafile: true
. The build ran successfully but I was never able to find any output. Has anyone managed to analyze their esbuild bundle sizes?The text was updated successfully, but these errors were encountered: