johannschopplich / kirbyup

🆙 Official bundler for Kirby Panel plugins
https://kirbyup.getkirby.com
MIT License
51 stars 3 forks source link

kirbyup in subfolders #1

Closed plain-solutions-gmbh closed 3 years ago

plain-solutions-gmbh commented 3 years ago

Gday. This: kirbyup './site/plugins/myplugin/src/index.js' --watch outputs the index.js to the root. ...istead of ./site/plugins/myplugin/src/

johannschopplich commented 3 years ago

kirbyup assumes you are working inside a plugin's directory. I recommend working inside a plugin. But for your edge case I introduced a --out-dir option. See: https://github.com/johannschopplich/kirbyup/commit/1fa4854fb6220a752578065731433b458b605c65

Update to v0.12.0 to access that option. Have fun!