Skip to content

Releases: nystudio107/craft-vite

Version 1.0.7

Choose a tag to compare

@khalwat khalwat released this 21 May 20:25

Added

  • Added a includeReactRefreshShim setting that will automatically include the required shim for react-refresh when the Vite dev server is running (#5)

Changed

  • Removed custom user/agent header that was a holdover from curl
  • Re-worked how the various JavaScript shims are stored and injected

Version 1.0.6

Choose a tag to compare

@khalwat khalwat released this 20 May 18:16

Changed

  • Change the default useDevServer setting to App::env('ENVIRONMENT') === 'dev' (#6)
  • Refactored the code from a monolithic ViteService to helpers, as appropriate

Fixed

  • Fixed an issue where it was outputting type="nomodule" for legacy scripts, when it should have just been nomodule

Version 1.0.4

Choose a tag to compare

@khalwat khalwat released this 08 May 18:49

Added

  • Added the devServerInternal setting back in, along with checkDevServer for people who want the fallback behavior (#2)

Changed

  • Use PRIMARY_SITE_URL in the default config instead of SITE_URL
  • Switch over to VitePress for the docs

Version 1.0.3

Choose a tag to compare

@khalwat khalwat released this 07 May 04:30

Changed

  • Crawl the manifest.json dependency graph recursively to look for CSS files

Fixed

  • Don't call any AssetManager methods in the component init() method during console requests

Version 1.0.2

Choose a tag to compare

@khalwat khalwat released this 06 May 16:51

Changed

  • Removed entirely the devServerInternal setting, which isn't necessary (we just depend on you setting the useDevServer flag correctly instead), and added setup complexity

Version 1.0.1

Choose a tag to compare

@khalwat khalwat released this 04 May 19:22

Changed

  • Added initial documentation
  • Updated default config.php

Version 1.0.0

Choose a tag to compare

@khalwat khalwat released this 04 May 04:00

Changed

  • Initial release