Feature Request: Add option to customize sourceExts
mgarabedian opened this issue · 3 comments
One of the packages I am using utilizes a 'cjs' file type. I made the update for react native in metro.config.js, in resolver -> sourceExts. However, it looks like the plugin bundles via hardcoded codeExts. It would be nice to be able to customize these, or somehow import from the metro config file.
I added cjs
to the hardcorded exts in 0.7.3
.
Configurable sourceExts sounds nice but currently this lib needs customized logic for each exts so it may not be worth the cost.
Thanks, understandable. Currently I am running a forked version that hardcodes the config I required, including the resolver blacklist ( blacklistRE ). Blacklisting is required for my setup, and am copying that code from metro.config.js in the plugin.