Skip to content

Releases: nystudio107/craft-plugin-vite

Version 1.0.18

16 Dec 02:49
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.17

14 Dec 20:51
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.15

21 Oct 13:51
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.14

18 Sep 20:42
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.13

25 Aug 16:16
Compare
Choose a tag to compare

Changed

  • Changed the DEVMODE_CACHE_DURATION to 1 second (#3)

Version 1.0.12

19 Aug 23:45
Compare
Choose a tag to compare

Changed

  • Only do setup in the VitePluginServce::init() method for CP requests

Version 1.0.11

10 Aug 19:40
Compare
Choose a tag to compare

Added

Version 1.0.10

15 Jul 03:48
Compare
Choose a tag to compare

Added

  • Added a craft.vite.devServerRunning() method to allow you to determine if the Vite dev server is running or not from your Twig templates (nystudio107/craft-vite#10)

Version 1.0.9

15 Jul 03:03
Compare
Choose a tag to compare

Changed

  • Switched the checkDevServer test file to @vite/client to accommodate with the change in Vite ^2.4.0 to use the .mjs extension (nystudio107/craft-vite#11)

Version 1.0.8

29 Jun 13:50
Compare
Choose a tag to compare

Changed