Releases: arnoson/kirby-vite
Releases · arnoson/kirby-vite
v3.1.0
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
Changes:
- legacy polyfills are inserted automatically, if
arnoson.kirby-vite.legacyis enabled
Breaking Changes:
- using vite-plugin-kirby therefore:
- no
src/.lockfile has to be created manually in development mode, instead vite-plugin-kirby creates a.devfile in the root folder - vite's
server.portandserver.originare 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
- no
arnoson.kirby-vite.devandarnoson.kirby-vite.devServeroptions are removed (dev mode is now only based on the existence of the.devfile, and since the.devfile also stores vite's dev server url you now only have to configure your dev server invite.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.