This repository was archived by the owner on Sep 16, 2023. It is now read-only.
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
generic version? #85
Closed
Description
first, thanks for this plugin.
i'm curious if you'd be open to having a generic version of this module available ( maybe babel-plugin-cherry-picker
)?
i made 2 small modifications to the codebase (defaultIds
in config.js
and the hard-coded id == 'lodash'
check in importModule.js
) and i managed to use it to cherry-pick unused modules from react-bootstrap. i'm imagining there are other modules that would find this advantageous too.
for now i plan on forking and creating a separate plugin that's basically identical except my changes but having a centralized place for all the code would be cool and probably really useful.