liamgold
(Liam Goldfinch)
4
I agree with @sebastiaan — I think the natural progression would be to move towards front-end bundling.
Personally, I would recommend using Vite. It allows you to bundle and minify your JavaScript and CSS easily, but at build time rather than at runtime.
You can still reference the generated bundles in your Razor views wherever it makes the most sense to include them.
This will also help you with:
2 Likes