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

Path resolution improvements #2

Closed
benmosher opened this issue Mar 17, 2015 · 3 comments
Closed

Path resolution improvements #2

benmosher opened this issue Mar 17, 2015 · 3 comments

Comments

@benmosher
Copy link
Member

  • Need to check for index.js if path is a directory (and node is specified as an environment?)
@benmosher benmosher reopened this Mar 18, 2015
@benmosher
Copy link
Member Author

Using substack's node-resolve package. Probably need some settings to pass through (extensions, paths, etc.).

@benmosher
Copy link
Member Author

Need a root path, a la webpack's resolve.root. Default to package root.

Extra credit: allow specification of a Node-compatible JS/JSON file with a path (i.e. './webpack.config.js:resolve.root').

May want to spec out some environment-based defaults (webpack, browserify, requirejs, explicitly check for node, etc.)

@benmosher benmosher reopened this Mar 18, 2015
@benmosher
Copy link
Member Author

closing as completed as initially spec'd, opening new issue for root path settings.

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

No branches or pull requests

1 participant