Skip to content

A little trick to stop tap breaking browserify - #250

Merged
caolan merged 1 commit into
caolan:masterfrom
glenjamin:browserify-tap-hack
Feb 19, 2014
Merged

caolan merged 1 commit into
caolan:masterfrom
glenjamin:browserify-tap-hack

Conversation

@glenjamin

Copy link
Copy Markdown
Contributor

This one is a bit more involved than the last one - and much hackier.

It doesn't make the other reporters work, but it does stop tap from breaking the bootstrap, allowing third party runners to use nodeunit under browserify.

before

> browserify index.js | testling

not ok 1 Error: Error: Cannot find module 'inherits' on line 6699

after

> browserify index.js | testling


@glenjamin

Copy link
Copy Markdown
Contributor Author

Probably worth noting that without this, I can still do

browserify index.js -i lib/reporters/index.js

To get a non-broken build.

caolan pushed a commit that referenced this pull request Feb 19, 2014
A little trick to stop tap breaking browserify
@caolan
caolan merged commit 95617e3 into caolan:master Feb 19, 2014
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

Successfully merging this pull request may close these issues.

2 participants