kirbyup
v3.2.0
Published
Zero-config bundler for Kirby Panel plugins
Downloads
663
Maintainers
Readme
kirbyup
The official bundler for Kirby Panel plugins with zero-config usage and built-in HMR.
Key Features
- 🔄 Hot module replacement
- 🎒 PostCSS support
- 🧭 Add custom path aliases
- 🔌 Run actions based on environment variables
- 🦔 Extends Vite with
kirbyup.config.js
Setup
[!TIP] 📖 Read the documentation
# pnpm
pnpm add -D kirbyup
# npm
npm i -D kirbyup
Basic Usage
[!TIP] 📖 Read the documentation or skip starting from scratch and pick one of the following starters:
Having installed kirbyup, you can add the following scripts as shortcuts to the commands you will use most often:
{
"scripts": {
"dev": "kirbyup serve src/index.js",
"build": "kirbyup src/index.js"
},
"devDependencies": {
"kirbyup": "^3.1.3"
}
}
💻 Development
- Clone this repository
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run
pnpm run dev:prepare
- Start development server using
pnpm run dev
License
MIT License © 2021-PRESENT Johann Schopplich
MIT License © 2022-PRESENT Jonas Kuske