babel-plugin-module-resolver icon indicating copy to clipboard operation
babel-plugin-module-resolver copied to clipboard

Custom module resolver plugin for Babel

Results 109 babel-plugin-module-resolver issues
Sort by recently updated
recently updated
newest added

Babel-plugin-module-resolver can't work correctly in React Native. One suggested way is to clean the cache: ``` react-native run-android -- --reset-cache ``` But in some cases, including mine, running this reset...

Hi, I'm working on a project with git, when I pull to another workspace(PC), I have to reset cache using 4 commands to make it work: - watchman watch-del-all -...

Unable to find the component. The Application is working fine on MacOS but facing issue on Windows. I`m using git bash terminal/command prompt to run the packager. ![image](https://user-images.githubusercontent.com/31130457/36747466-1a88105e-1c1b-11e8-8f91-f6fc6ee8d8f7.png) **Config:** Windows...

react-native

I have two different babel config files, when I run babel for my server code I pass in a specific `.babelrc-server` file to the CLI option `--config-file` but this plugin...

I finally got a usecase where I wanted to make a dynamic `require()` call based on a variable, like so: ```js require(`App/xxx/${filename}`) ``` But it doesn't work because we don't...

Previously if a relative import was used then the plugin would make no attempt to resolve the file using the extensions provided. This was an issue if you were using...

I had this in mi .babelrc plugins entry, i can confirm that other config entries dont change the output: ``` ["module-resolver", { "root": ["."], "alias": { "~": ".", "$": "./models",...

I can not use `src` as alias,but when i change `src` to `test` is work. ![image](https://user-images.githubusercontent.com/28479270/45856872-ed587780-bd88-11e8-9957-5ea1ee3df5fa.png) ![image](https://user-images.githubusercontent.com/28479270/45856882-f9dcd000-bd88-11e8-9e1f-8842a62a2be1.png)

I was having trouble getting babel to export aliased modules -- they were always transpiling with absolute paths instead of relative ones. I had been configuring babel with a `.babelrc.js`...