Open boneskull opened 8 years ago
I think the config option that specifies rollup config file is better, because we could just pass it to the rollup?
Would there be any impact there with the tool insofar as pre- and post-processing? If not, then yes.
@bahmutov In general, I'd like to get your thoughts on my use case (Mocha), which is ultimately outside the scope of this ticket. If you're available for a chat (text or audio), I'd be grateful to speak with you.
what's the use case with Mocha, since I have been doing a lot of things with it (it is my favorite https://glebbahmutov.com/blog/picking-javascript-testing-framework/) - we can chat next week
I was trying to find a good way to allow this behavior and submit a PR, but nothing elegant was jumping at me. There are two main problems:
So, I can't use plugin functions in
package.json
obviously, and I can't specify my plugins for Rollup in any manner other than in a.js
file.Potential solutions:
.js
config file in addition toconfig
prop ofpackage.json
files
property)