Skip to content

Releases: nystudio107/craft-plugin-vite

Version 1.0.30

29 Aug 16:15
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 1.0.29

29 Aug 05:21
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)

Version 4.0.4

26 Aug 16:35
Compare
Choose a tag to compare

Changed

  • Use App::env() for reading environment variables (#11)
  • Add allow-plugins so CI tests will work (#12)

Fixed

  • Only inject the error entry if the dev server is running (not just whether devMode is enabled or not) (#244)

Version 1.0.28

26 Aug 16:33
Compare
Choose a tag to compare

Changed

  • Use App::env() for reading environment variables (#11)
  • Add allow-plugins so CI tests will work (#12)

Fixed

  • Only inject the error entry if the dev server is running (not just whether devMode is enabled or not) (#244)

Version 4.0.3

16 Jul 20:51
Compare
Choose a tag to compare

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

16 Jul 20:50
Compare
Choose a tag to compare

Changed

  • Fixed an issue where checkDevServer didn't work with Vite 3, because they removed the intercepting of __vite_ping (#37)

Version 4.0.2

29 Jun 15:22
Compare
Choose a tag to compare

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

29 Jun 15:21
Compare
Choose a tag to compare

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.1

16 May 02:49
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the plugin couldn't detect the Vite dev server by testing __vite_ping instead of @vite/client to determine whether the dev server is running or not (#33) (#8)

Version 1.0.25

16 May 02:51
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the plugin couldn't detect the Vite dev server by testing __vite_ping instead of @vite/client to determine whether the dev server is running or not (#33) (#8)