After reading issue number #271, I noticed that you have problems with CSS injection.
I fixed this using the js esbuild API and the corresponding plugin. Now It works great,
although in my opinion, the assembly looks unnecessarily complex. Perhaps you should consider looking towards pure esbuild or something like tsup, it would simplify maintenance.
In any case, I hope this PR will be usefulI.
Hi @callumlocke,
After reading issue number #271, I noticed that you have problems with CSS injection. I fixed this using the js esbuild API and the corresponding plugin. Now It works great, although in my opinion, the assembly looks unnecessarily complex. Perhaps you should consider looking towards pure esbuild or something like tsup, it would simplify maintenance. In any case, I hope this PR will be usefulI.