Skip to content

Releases: arnoson/kirby-vite

v3.1.0

28 Jun 12:08

Choose a tag to compare

   🚀 Features

  • Add vite()->file() to return asset path  -  by arnoson (fb390)
    View changes on GitHub

v3.0.7

20 Apr 09:22

Choose a tag to compare

v3.0.6

30 Mar 10:12

Choose a tag to compare

fix: match version to tag

v3.0.5

15 Feb 08:26
ce47065

Choose a tag to compare

v3.0.4

06 Dec 08:51

Choose a tag to compare

  • Expose the manifest. This is useful to check if an entry exists before importing it:
e(isset(vite()->manifest()[$entry]), vite()->js($entry));

v3.0.3

01 Dec 15:04

Choose a tag to compare

  • use correct composer version and git tag

v3.0.2

01 Dec 14:59

Choose a tag to compare

  • use correct legacy entry

v3.0.1

06 Oct 14:55

Choose a tag to compare

  • update to kirby 3.8
  • update composer.json

v3.0.0

20 Sep 12:51

Choose a tag to compare

Changes:

  • legacy polyfills are inserted automatically, if arnoson.kirby-vite.legacy is enabled

Breaking Changes:

  • using vite-plugin-kirby therefore:
    • no src/.lock file has to be created manually in development mode, instead vite-plugin-kirby creates a .dev file in the root folder
    • vite's server.port and server.origin are set by vite-plugin-kirby automatically, no need to define a strict port anymore!
    • PHP and content files are watched automatically, no need to setup vite-plugin-live-reload manually. To disable file watching see the vite-plugin-kirby documentation
  • arnoson.kirby-vite.dev and arnoson.kirby-vite.devServer options are removed (dev mode is now only based on the existence of the .dev file, and since the .dev file also stores vite's dev server url you now only have to configure your dev server in vite.config.js)
  • vite()->client() is removed as the client is inserted automatically

See the basic kit for an example vite.config.js and npm scripts.

v2.5.1

11 May 09:26

Choose a tag to compare

Fix missing getkirby/composer-installer