Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve and open by (beforehand) given paths? #4

Open
Aqzhyi opened this issue Mar 7, 2016 · 3 comments
Open

resolve and open by (beforehand) given paths? #4

Aqzhyi opened this issue Mar 7, 2016 · 3 comments

Comments

@Aqzhyi
Copy link

Aqzhyi commented Mar 7, 2016

Hi, I have a rails app and directory structure like this:

./app/assets/app/modules.js
./app/assets/app/routes.js
./app/assets/app/*
./app/assets/pages/*
./app/assets/partials/*
./app/assets/layouts/*
./gulpfile.babel.js
./.babelrc
./.gitignore
etc.

I will writing import { ngApp } from 'app/modules', import 'app/routes' etc, and resolve by babel resolveModuleSource or NODE_PATH=./.

for now, I have no workaround on this issue.

BTW, atom-autocomplete-modules provided me to configure the Verdor Directories with

image

Did you have any ideas?

image

@t9md
Copy link
Owner

t9md commented Mar 7, 2016

Okay, will try to search user configured pattern.
But Im little busy for now need a week to implement.
Thanks for suggestion!

@albertorestifo
Copy link

In webpack, you can configure the option resolve.root to a custom directory, other than node_moduels. This is how I work with big compiled JS projects.

It would be so awesome if this package looked that setting up and searched those directories too!

@jpbochi
Copy link

jpbochi commented Jan 26, 2017

I like this idea. Any development since last year?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants