Releases: nystudio107/craft-plugin-vite
Releases · nystudio107/craft-plugin-vite
Version 5.0.0-beta.2
Added
- If the
devServer
is running, theViteService::fetch()
method will try to use thedevServerInternal
URL first, falling back on thedevServerPublic
so thatcraft.vite.inline()
can pull from thedevServer
if it is running (#22) - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- PHPstan code cleanup
- ECS code cleanup
Version 4.0.9
Added
- If the
devServer
is running, theViteService::fetch()
method will try to use thedevServerInternal
URL first, falling back on thedevServerPublic
so thatcraft.vite.inline()
can pull from thedevServer
if it is running (#22) - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- PHPstan code cleanup
- ECS code cleanup
Version 1.0.33
Added
- If the
devServer
is running, theViteService::fetch()
method will try to use thedevServerInternal
URL first, falling back on thedevServerPublic
so thatcraft.vite.inline()
can pull from thedevServer
if it is running (#22) - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- PHPstan code cleanup
- ECS code cleanup
Version 5.0.0-beta.1
Added
- Initial beta release
Version 4.0.8
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)
Version 1.0.32
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)
Version 4.0.7
Changed
- Allow setting the
manifestPath
automatically based on the AssetBundle for all requests, not just CP requests
Version 1.0.31
Changed
- Allow setting the
manifestPath
automatically based on the AssetBundle for all requests, not just CP requests
Version 4.0.6
Fixed
- Move the call to
parent::init()
inVitePluginService
down to afteruseDevServer
is set based on the check for theVITE_PLUGIN_DEVSERVER
environment variable (#244)
Version 4.0.5
Fixed
- Ensure that
useDevServer
is properly set tofalse
even if somehow the incoming request is not a CP request (#244)