Limitations
Unfortunately, Ammolite has some limitations.
Declaration
All static APIs must be declared at the top level. Nested declarations inside other functions will not work.
Support for SvelteKit
Vite plugin does not support SvelteKit out of the box.
Therefore, @ammolite/postcss is required to work with SvelteKit.
For more information, please refer to Vite plugin API (transformIndexHtml).