feats / babel-plugin-inline-import

inline the raw content of import statements
https://www.npmjs.com/package/babel-plugin-inline-import
MIT License
243 stars 29 forks source link

Use resolve instead of require-resolve #2

Open steelbrain opened 7 years ago

steelbrain commented 7 years ago

resolve has zero deps and is extremely well tested and comes from a well known author

zvictor commented 7 years ago

to be honest I don't remember anymore why I used require.resolve, it has been a long time, but I would be afraid of changing it now without proper testing.

Is it creating any specific issue for you? I would like to know more about it = )