Skip to content

Releases: nystudio107/craft-plugin-vite

Version 5.0.0-beta.2

30 Jan 18:22
Compare
Choose a tag to compare
Version 5.0.0-beta.2 Pre-release
Pre-release

Added

  • If the devServer is running, the ViteService::fetch() method will try to use the devServerInternal URL first, falling back on the devServerPublic so that craft.vite.inline() can pull from the devServer if it is running (#22)
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • PHPstan code cleanup
  • ECS code cleanup

Version 4.0.9

30 Jan 18:20
Compare
Choose a tag to compare

Added

  • If the devServer is running, the ViteService::fetch() method will try to use the devServerInternal URL first, falling back on the devServerPublic so that craft.vite.inline() can pull from the devServer if it is running (#22)
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • PHPstan code cleanup
  • ECS code cleanup

Version 1.0.33

30 Jan 18:19
Compare
Choose a tag to compare

Added

  • If the devServer is running, the ViteService::fetch() method will try to use the devServerInternal URL first, falling back on the devServerPublic so that craft.vite.inline() can pull from the devServer if it is running (#22)
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • PHPstan code cleanup
  • ECS code cleanup

Version 5.0.0-beta.1

21 Jan 07:06
Compare
Choose a tag to compare
Version 5.0.0-beta.1 Pre-release
Pre-release

Added

  • Initial beta release

Version 4.0.8

25 Jan 21:09
Compare
Choose a tag to compare

Changed

  • Updated the craft.vite.asset() function to work with Vite 3.x or later, where assets are stored as top-level entries in the manifest.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) via craft.vite.asset("src/css/app.css") (#31)

Version 1.0.32

25 Jan 21:08
Compare
Choose a tag to compare

Changed

  • Updated the craft.vite.asset() function to work with Vite 3.x or later, where assets are stored as top-level entries in the manifest.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) via craft.vite.asset("src/css/app.css") (#31)

Version 4.0.7

08 Nov 15:51
Compare
Choose a tag to compare

Changed

  • Allow setting the manifestPath automatically based on the AssetBundle for all requests, not just CP requests

Version 1.0.31

08 Nov 15:49
Compare
Choose a tag to compare

Changed

  • Allow setting the manifestPath automatically based on the AssetBundle for all requests, not just CP requests

Version 4.0.6

29 Aug 16:17
Compare
Choose a tag to compare

Fixed

  • Move the call to parent::init() in VitePluginService down to after useDevServer is set based on the check for the VITE_PLUGIN_DEVSERVER environment variable (#244)

Version 4.0.5

29 Aug 05:22
Compare
Choose a tag to compare

Fixed

  • Ensure that useDevServer is properly set to false even if somehow the incoming request is not a CP request (#244)