Skip to content

Add failing test for top level transforms and symlinked node modules#1365

Closed
ivantsepp wants to merge 1 commit intobrowserify:masterfrom
ivantsepp:add_failing_test_for_tr_symlink
Closed

Add failing test for top level transforms and symlinked node modules#1365
ivantsepp wants to merge 1 commit intobrowserify:masterfrom
ivantsepp:add_failing_test_for_tr_symlink

Conversation

@ivantsepp
Copy link

Adds a failing test with using a transform on top-level files on symlinked node modules.

The test failure is coming from passing in the realpath and module-deps uses this path to determine if the file is top level.

A possible solution is to not pass in the realpath and calculate it instead in module-deps. I think this makes sense as module-deps would want to know the realpath and the resolved path of the file.

@ivantsepp
Copy link
Author

Any updates on this? Is the test in this PR expected behavior?

@ivantsepp ivantsepp changed the title Add test for top level transforms and symlinked node modules Add failing test for top level transforms and symlinked node modules Sep 23, 2015
@jmm
Copy link
Collaborator

jmm commented Sep 23, 2015

@ivantsepp Thanks for this! I haven't tried your test (and unfortunately I can't manage to fully "get it" just from the description), but there's some discussion going on in #1386 that you may be interested in.

@zertosh
Copy link
Member

zertosh commented Oct 26, 2015

I guess this is fixed by #1392

@zertosh zertosh closed this Oct 26, 2015
@chrisirhc
Copy link
Contributor

@zertosh Yep, though #1392 hasn't been merged.

@zertosh
Copy link
Member

zertosh commented Oct 26, 2015

@chrisirhc cool! Lets let ppl chime in on #1413 since that'll bump browserify to v12, so then #1392 can ride along with that.

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

Development

Successfully merging this pull request may close these issues.

4 participants