Version 1.0.30
Changed
- Updated the
craft.vite.asset()
function to work with Vite 3.x or later, where assets are stored as top-level entries in themanifest.json
(#56) (#31) - You can now include CSS manually if it's a top-level entry in your
vite.config.js
(rather than being imported into your JavaScript) viacraft.vite.asset("src/css/app.css")
(#31)