Skip to content

Releases: nystudio107/craft-vite

Version 4.0.0-beta.2

09 Mar 03:53
Compare
Choose a tag to compare

Fixed

  • Updated types for Craft CMS 4.0.0-alpha.1 via Rector

Version 4.0.0-beta.1

07 Feb 20:57
Compare
Choose a tag to compare

Added

  • Initial Craft CMS 4 compatibility

Version 1.0.23

21 Jan 13:20
Compare
Choose a tag to compare

Fixed

  • Removed errant debugging code

Version 1.0.21

17 Jan 17:39
Compare
Choose a tag to compare

Added

  • Added a vite-script-loaded event dispatched to document so listeners can be notified after a script
    loads (#310)

Version 1.0.20

16 Dec 20:30
Compare
Choose a tag to compare

Fixed

  • Fixed a regression caused by #5 to ensure assets load on production (#6)

Version 1.0.19

16 Dec 02:51
Compare
Choose a tag to compare

Added

  • Added the .entry() function to retrieve and entry from the manifest.json to a JavaScript file, CSS file, or asset

Version 1.0.18

14 Dec 21:02
Compare
Choose a tag to compare

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

21 Oct 13:53
Compare
Choose a tag to compare

Fixed

  • Fixed an issue with potentially duplicated modulepreload links by adding tags via an associative array (#16)

Version 1.0.16

18 Sep 20:44
Compare
Choose a tag to compare

Added

  • Added craft.vite.asset() to retrive assets such as images that are imported in JavaScript or CSS

Version 1.0.15

25 Aug 16:17
Compare
Choose a tag to compare

Changed

  • Changed the DEVMODE_CACHE_DURATION to 1 second (#3)