kentcdodds / babel-plugin-macros

🎣 Allows you to build simple compile-time libraries
https://npm.im/babel-plugin-macros
MIT License
2.62k stars 135 forks source link

feat(resolve): add fallback path to be able to resolve modules relatively to `babel-plugin-macros` #138

Closed wintercounter closed 4 years ago

wintercounter commented 4 years ago

What: https://github.com/kentcdodds/babel-plugin-macros/issues/87

Why: In case you have babel-plugin-macros loaded outside of process.cwd() it cannot resolve modules realtively to itself.

How: Added the node_modules folder including babel-plugin-macros as a fallback path.

kentcdodds commented 4 years ago

@all-contributors please add @wintercounter for code

allcontributors[bot] commented 4 years ago

@kentcdodds

I've put up a pull request to add @wintercounter! :tada:

wintercounter commented 4 years ago

Any ETA on the release?

kentcdodds commented 4 years ago

Sorry, there appears to be a problem with the build/release. Will try to resolve as soon as possible.

kentcdodds commented 4 years ago

:tada: This PR is included in version 2.8.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: