Open
Description
Hello,
I am trying to use a custom typescript transformer so I can make use of compile-time transformations, but I can't find a way to add it to the build. I haven't tested but I guess it won't read a rollup config file if I create it, right? (ref.: https://github.com/osdevisnot/klap/blob/master/src/plugins.js#L16)
I am happy to send a PR with a reference implementation, but before considering working on it, I would like to know if you have any suggestion of which approach to follow. For example:
- Create a klap.config.js (or any name) file that supports hooking config changes (like pointcuts/hooks) in some points of the plugin (at least plugins.js file initially); OR
- Find a way to use the rollup config file to override what's previously configured (Convention over configuration); OR
- Just implement a basic support to typescript transformers and add it to klap object of package.json
Any other approach or suggestion is welcome :)
Thanks for the awesome project!
Metadata
Metadata
Assignees
Labels
No labels