You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a custom plugin to glob most of my source tree as input.
Problem is, when specifying non-javascript file as entry point, rollup still generates a bundle for it (often empty, depends on plugins).
Anyway even if this plugin didn't emit javascript code, there'd still be empty bundles.
So I propose a solution: detect when images are used as entry points and clean up auto generated javascript files at generateBundle event.
I got a working solution, if you think this could be useful, I'll make a pull request.
The text was updated successfully, but these errors were encountered:
Sorry for the late reply on this. If you still have a PR, I'd be open to it! I've been trying to do some much-needed housekeeping on my repos as of late.
I'm using a custom plugin to glob most of my source tree as input.
Problem is, when specifying non-javascript file as entry point, rollup still generates a bundle for it (often empty, depends on plugins).
Anyway even if this plugin didn't emit javascript code, there'd still be empty bundles.
So I propose a solution: detect when images are used as entry points and clean up auto generated javascript files at
generateBundle
event.I got a working solution, if you think this could be useful, I'll make a pull request.
The text was updated successfully, but these errors were encountered: