The official bundler for Kirby Panel plugins with zero-config usage and built-in HMR.
kirbyup.config.js
[!TIP] π Read the documentation
# pnpm
pnpm add -D kirbyup
# npm
npm i -D kirbyup
[!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"
}
}
corepack enable
pnpm install
pnpm run dev:prepare
pnpm run dev
MIT License Β© 2021-PRESENT Johann Schopplich
MIT License Β© 2022-PRESENT Jonas Kuske