Comments (4)
Actually, relative paths might not be working for me at all in this project.
from import-js.
Is this the same project that didn't have lookup_paths
? I think we have something that checks if import_path.start_with?(lookup_path)
, which won't work for paths starting with .
. We should probably address that by stripping out any dots from the start of lookup paths. It's likely that someone will add e.g. ./app/assets
here too, which will suffer from the same problem.
from import-js.
This was the line I was talking about: 994f70d#diff-ca39607eaaa0631db83ec644bad6bab0R49
Though it was checking make_relative_to
instead of import_path
, but the result is the same.
from import-js.
Yes, this is the same project that didn't have lookup_paths
.
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
- Lodash alias doesn't work HOT 3
- 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.