Releases: nystudio107/craft-vite
Releases · nystudio107/craft-vite
Version 4.0.0-beta.2
Fixed
- Updated types for Craft CMS
4.0.0-alpha.1
via Rector
Version 4.0.0-beta.1
Added
- Initial Craft CMS 4 compatibility
Version 1.0.23
Fixed
- Removed errant debugging code
Version 1.0.21
Added
- Added a
vite-script-loaded
event dispatched todocument
so listeners can be notified after a script
loads (#310)
Version 1.0.20
Version 1.0.19
Added
- Added the
.entry()
function to retrieve and entry from themanifest.json
to a JavaScript file, CSS file, or asset
Version 1.0.18
Fixed
- Fixed an issue where the needle/haystack logic was reversed in
strpos()
which could cause it to not match properly in some setups (#5)
Version 1.0.17
Fixed
- Fixed an issue with potentially duplicated
modulepreload
links by adding tags via an associative array (#16)
Version 1.0.16
Added
- Added
craft.vite.asset()
to retrive assets such as images that are imported in JavaScript or CSS
Version 1.0.15
Changed
- Changed the
DEVMODE_CACHE_DURATION
to1
second (#3)