Comments (4)
Please create a failing example against this module. Looks like your
example is using browserify, unless that is just bad naming of variables.
On May 16, 2014 9:38 AM, "Sébastien Lorber" [email protected]
wrote:
The doc says:
paths - require.paths array to use if nothing is found on the normal node_modules recursive walk
Actually, I have a configuration where the following works:
return browserify({ entries: ['./src/js/app.js'], extensions: ['.jsx'], paths: ['./node_modules','./src/js/home'] })
While the following doesn't:
return browserify({ entries: ['./src/js/app.js'], extensions: ['.jsx'], paths: ['./src/js/home'] })
So, I guess when using the paths option, the code doesn't try anymore to
lookup into the node modules, while the doc says it should—
Reply to this email directly or view it on GitHubhttps://github.com//issues/41
.
from browser-resolve.
@defunctzombie sure I'll show you soon. I'm building a starter kit for Gulp / Browserify / React / Less / Phonegap actually and will open source it in some hours
from browser-resolve.
Actually I believe that my PR in #43 fixes this.
from browser-resolve.
cool
from browser-resolve.
Related Issues (20)
- Can't resolve 'fs' HOT 1
- resolve updates HOT 3
- add tests for pathFilter, packageFilter
- Use resolve 1.1.6 HOT 2
- alt-browser fallback to "browser" for browserification of dependencies? HOT 4
- global leak error detected in mocha HOT 1
- Feature request: option to intercept all disk I/O HOT 1
- Readme should be more accurate HOT 1
- Resolve fails for requires without file extension HOT 2
- No support for npm module name with "scope" yet? HOT 3
- node-resolve 1.1.7 HOT 1
- AssertionError: no line 0 (line numbers start from 1) while parsing file node_modules\browser-resolve\empty.js HOT 7
- Feature Request: Resolve Modules HOT 8
- Button on IE not working - works on all other browser
- Resolved files do not respect the `extensions` option HOT 6
- "resolve.mainFields"-like support HOT 1
- Update resolve dependency to 1.12.0 HOT 19
- "Error: Cannot find module" output should include filename
- Maintenance HOT 4
- 'process is not defined' when using process as a global HOT 5
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 browser-resolve.