Closed hjwalt closed 3 years ago
Hi! Thank you for filing this issue. This does sound like it would be useful. I don't have much spare time for Neutrino development these days, but if you wanted to open a PR I'd be happy to take a look? :-)
@edmorley thank you for your response, I have created the pull request for this change.
Enhancement
Currently
neutrino.options.components
orcomponents
inreact-components
preset only allow a string to be supplied and published as component library. I think allowing an array of string would be useful for that configuration.My use case is that I need to publish from three different reusable folders with three logical groupings, which are:
What is the goal of the change? To allow setting multiple component source folder
What are the pros and cons of the change? pros: multiple source folders allowed with simple configuration
cons: at the moment all the components would still be published into the same folder, which could be confusing unless the component configuration takes a folder map. i.e. :
p.s. I am a developer too so if neutrino is open, I could develop an initial change implementation to react-components and create a pull.