Comments (3)
Hi @LandonSchropp! I can confirm this isn't working in my case either. A workaround seems to be if you specify the full path to the lodash module. This works for me:
module.exports = {
aliases: {
_: "node_modules/lodash",
}
};
from import-js.
@trotzig Thanks for the workaround! That seems to get me past the issue. 🙂
from import-js.
Related Issues (20)
- Trouble working with webpack aliases HOT 4
- How to configure for sveltejs HOT 2
- CLI running but not adding to file HOT 1
- How to configure it to work with babel-plugin-transform-react-jsx HOT 1
- Is this module still supported? HOT 3
- Bug: cannot auto import HOT 1
- Auto import via NodeJS HOT 4
- Use ImportJS without package.json HOT 4
- Add CustomElements support HOT 3
- namedExports solved the 'No JS module to import for Redirect' problem HOT 2
- Specify node_modules directory in .importjs.js HOT 4
- Support for jsconfig.json HOT 7
- Option to import with double quotes instead of single quotes HOT 2
- groupImports ends up grouping namedExports separately. HOT 1
- Import maps HOT 2
- active forks HOT 3
- Unable to import files when using smart pipeline operator HOT 5
- Fails to install: node-pre-gyp? HOT 4
- when i move a personal module file to an other folder, the import suggestion of the personal module propose the old folder and the new folder HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from import-js.