Hacky solution to build SvelteKit project in a looking-like-one bundle.js
The SvelteKit-One-Bundle is a custom solution developed to address the limitation of the SvelteKit Static Adapter in rendering the application with a single bundle.js file. It provides a workaround by exploding and re-wrapping the project into an initial bundle and a custom index.html to load the bundle from. The final build is located in the dist folder.
To install and use the SvelteKit-One-Bundle, follow these steps:
The SvelteKit-One-Bundle is a solution developed to address the limitation of the SvelteKit Static Adapter. It allows the application to be loaded and rendered using a single bundle.js file and provides a custom index.html to facilitate the rendering process. The installation process is straightforward and can be done by following a few simple steps.