Open mkoryak opened 9 years ago
without overwriting other code. The important change here is + chunks[node.range[1] + 1] which allows code like this to work:
+ chunks[node.range[1] + 1]
foo(require('moment'));
without putting that chunk back the code above will be transformed into
foo(require('./bower_components/moment/moment.js');
Hey, this PR works - are you interested in merging this or should I delete my fork?
without overwriting other code. The important change here is
+ chunks[node.range[1] + 1]
which allows code like this to work:without putting that chunk back the code above will be transformed into