tleunen / babel-plugin-module-resolver

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

Explain "underscore": "lodash" in Getting Started section #367

Closed Tagman closed 5 years ago

Tagman commented 5 years ago

Hey,

an answer to a question at StackOverflow pointed me to this plugin. Reading the ReadMe.md and trying to understand how it work, I came across this line at the "Getting started" section.

"underscore": "lodash"

what does this do?

tleunen commented 5 years ago

It maps all occurrences of underscore with lodash

Tagman commented 5 years ago

After searching the names I noticed that these are libraries. I thought it had something to do with the character "_".