arnoson / kirby-vite

Use Kirby CMS together with Vite
MIT License
81 stars 7 forks source link

feat: allow multiple panel assets #38

Closed arnoson closed 9 months ago

arnoson commented 12 months ago

Right now, only one file can be passed to vite()->panelCss() or vite()->panelJs(). Since your can import as many other files as you want inside these entry files this is not really a restriction, but adding support for multiple files, like vite()->panelJs(['panel.js', 'some-other-panel.js']) is a simple change, so we might as well add it.