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

[Feature] onRebuild result should contain metafile if options ask for it #1057

Closed
dzearing opened this issue Mar 25, 2021 · 1 comment
Closed

Comments

@dzearing
Copy link

When using watch mode, the metafile is returned from the initial build result, but not in the results from onRebuildwhen things change. I'd like to access the bundle metadata if possible when rebuilding (assuming metafile: true is set in options.) This would enable some interesting scenarios such as live updates on dev tools for monitoring bundle size, chunk changes over time, etc.

@evanw
Copy link
Owner

evanw commented Mar 25, 2021

Thanks for the report. This was not intentional, and was just an oversight. Will fix.

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 a pull request may close this issue.

2 participants