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

Getting Started failed to get started - didn't list all the necessary steps

Open JiboStore opened this issue 5 years ago • 0 comments

I did everything in the Getting Started guide in my fresh react-js app

It failed: Module not found: Can't resolve '_include/file.js' in mymain.js`

my .babelrc { "plugins": [ ["module-resolver", { "root": ["./src"], "alias": { "test": "./test", "underscore": "lodash", "_include": "./src/include" } }] ] }

It just doesn't work, it is very disappointing that the Getting Started from the official source did not specify all the required steps. Googling for third party tutorials provides a lot of very different, very complicated setups a lot of which might not even be required:

super-complicated-codes

JiboStore avatar Mar 28 '20 02:03 JiboStore