Releases: nystudio107/craft-vite
Releases · nystudio107/craft-vite
Version 1.0.28
Added
- Added support for detecting dev-mode in Craft CMS v4 by changing
App::env('ENVIRONMENT') === 'dev'
- to
App::env('ENVIRONMENT') === 'dev' || App::env('CRAFT_ENVIRONMENT') === 'dev'
(#41)
Fixed
- Set the
ViteService
config in the constructor, so that settings from theconfig/vite.php
are pre-populated before theViteService::init()
method is called (#44)
Version 4.0.2
Changed
- Fixed an issue where
checkDevServer
didn't work with Vite 3, because they removed the intercepting of__vite_ping
(#37)
Version 1.0.27
Changed
- Fixed an issue where
checkDevServer
didn't work with Vite 3, because they removed the intercepting of__vite_ping
(#37)
Version 4.0.1
Changed
- Adds a boolean as a second param to the
craft.vite.asset(url, true)
so that assets in the vite public folder can be referenced correctly from Twig (#9)
Version 1.0.26
Changed
- Adds a boolean as a second param to the
craft.vite.asset(url, true)
so that assets in the vite public folder can be referenced correctly from Twig (#10)
Version 4.0.0
Version 1.0.25
Version 4.0.0-beta.4
Changed
- Don't log the full exception on a Guzzle error, just log the message
Fixed
- Fix semver for
nystudio107/craft-plugin-vite
so it's not pinned to a specific version
Version 4.0.0-beta.3
Changed
- Only clear caches in
init()
if we're using the dev server - Cache the status of the devServer for the duration of the request
Version 1.0.24
Changed
- Only clear caches in
init()
if we're using the dev server - Cache the status of the devServer for the duration of the request