Add a babel plugin from a package?

Is there a way to add a babel plugin from a meteor package? I’m porting React Loadable, and it requires a babel plugin, but I’m not sure how to expose it so that it can be configured in .babelrc (or package.json), or just be included directly from the package.

1 Like

I’m thinking what I may have to do is to publish a separate npm package for the babel plugin component, and just require the user to use that.