Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Aug 11:02
· 98 commits to main since this release

   🚀 Features

  • Treat css as entry  -  by arnoson (37fe2)
  • Handle CSS imported by JS  -  by arnoson (39e51)

Migration:

  • All PHP options for the kirby plugin have been removed. Configuration now only happens inside vite.config.js and is then shared automatically with PHP (the file site/config/vite.config.php is generated). You can just remove any arnoson.kirby-vite.* options from your Kirby config.
  • vite()->js() and vite()->css() now always need an entry. So if you were using arnoson.kirby-vite.entry before, just add the entry everywhere explicitly: vite()->js('your-entry.js').
    View changes on GitHub