We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cde1b19 + db193d5 commit bd3f253Copy full SHA for bd3f253
index.js
@@ -152,12 +152,9 @@ module.exports = function (browserify, options) {
152
// collect visited filenames
153
filenames.push(filename);
154
155
+ var loader = new FileSystemLoader(rootDir, plugins);
156
return through(function noop () {}, function end () {
157
var self = this;
- var loader = new FileSystemLoader(rootDir, plugins);
158
-
159
- // pre-populate the loader's tokensByFile
160
- loader.tokensByFile = tokensByFile;
161
162
loader.fetch(path.relative(rootDir, filename), '/').then(function (tokens) {
163
var output = 'module.exports = ' + JSON.stringify(tokens);
0 commit comments