vite-plugin-singlefile
vite-plugin-singlefile copied to clipboard
Vite plugin for inlining JavaScript and CSS resources
I have the issue that the plugin fails when I try to bundle multiple files. The error it throws is: > Invalid value for option "output.inlineDynamicImports" - multiple inputs are...
The problem is when you have some unembedding content in public folder. Even if you have unembedding content you have to embed js to neutralize CORS. So js in fact...
my project use vue3+vue-router,then install this plugin,after build my project ,i can open the index.html page.but open the router page failed,
This is a follow-up to #85 - while newlines inserted as a result of inlining assets within the plugin were rid of, trailing EOF whitespace characters within the inlined code...
The method [AudioContext.audioWorklet.addModule](https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule) seems to mandate an external file. Hence I am seeking recommendations on how to configure Vite and ViteSingleFile plugin to support this specific usage. Thank you in...
I'm aware of the limitation which prevents this plugin from inlining assets from the `public` folder, however I have the following HTML: ```html (...js and css...) ``` This is how...
Keep an eye on https://github.com/vitejs/vite/pull/11138 and once it's merged, make it possible to inline HTML assets.
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...
I see a last line break in my output script tag. Maybe trimRight would fix that? 
It looks like web worker js files with the ?worker suffix are ignored by this plugin. My app uses an import such as: > import AutocompleteWorker from "@/autocomplete.worker.js?worker"; My output...