tleunen / babel-plugin-module-resolver

Custom module resolver plugin for Babel
MIT License
3.45k stars 205 forks source link

Support query strings in imports #427

Open jnleonard3 opened 3 years ago

jnleonard3 commented 3 years ago

Typically used in a webpack environment when using the resourceQuery loader parameter: https://webpack.js.org/configuration/module/#ruleresourcequery

jnleonard3 commented 3 years ago

If anyone needs this before this becomes an official part of this project, I've published it to npm as at least my organization needs this change in the meantime: npm i @jleonardvp/babel-plugin-module-resolver