babel-plugin-module-resolver
babel-plugin-module-resolver copied to clipboard
Custom module resolver plugin for Babel
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.  **Config:** Windows...
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.  
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`...