Closed aminya closed 2 months ago
I think this issue could be closed as out of scope for this project, based on the following paragraph from the project README:
This is a single file plugin. As in, it creates one HTML file and no other files. Hence the name. So, this either will not work or will not be optimized for apps that require multiple "entry points" (HTML files). Please see issue #51 for details. Issues opened requesting multiple entry points will be closed as wontfix.
This is outside the scope of this plugin, and would be best handled by adjusting how Rollup works.
I want to inline the small scripts (e.g. files that are under 1 KB) into my HTML. Vite (and Astro) create very small files for different components, which could be inlined instead to avoid the overhead of another HTTP request.
Is there a way to specify a size limit for the max threshold of inlining?