eugeneware / debowerify

A browserify transform to enable the easy use of bower components in browserify client javascript projects. This can be used in conjunction with deamdify to require AMD components from bower as well.
491 stars 51 forks source link

support for more than 14 entries #72

Open mkoryak opened 9 years ago

mkoryak commented 9 years ago

without overwriting other code. The important change here is + chunks[node.range[1] + 1] which allows code like this to work:

foo(require('moment'));

without putting that chunk back the code above will be transformed into

foo(require('./bower_components/moment/moment.js');
mkoryak commented 9 years ago

Hey, this PR works - are you interested in merging this or should I delete my fork?