browserify / browserify/module-deps

options.paths not used for transforms

Open
#150 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
208
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Hi,
Is there any reason why you dont pass paths in loadTransforms?
I had some transforms installed in a separate directory referenced by NODE_PATH. node find them correctly but browserify not even if I pass that directory to the paths option of browserify.
I went down the calls until I found that the missing piece is to add paths: self.paths to the params variable in loadTransform.
By doing that, it now works but I don't know if this is the right solution.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.