Respecting commented out imports

pull/1/head
Dave Hoover 9 years ago
parent 1203af74ce
commit 0683bb5597
  1. 2
      src/app.js

@ -708,7 +708,7 @@ var run = function() {
cb(files[fileNameFromKey(SOL_CACHE_FILE)]);
return;
}
var importRegex = /import\s*[\'\"]([^\'\"]+)[\'\"];/g;
var importRegex = /^\s*import\s*[\'\"]([^\'\"]+)[\'\"];/g;
var reloop = false;
do {
reloop = false;

Loading…
Cancel
Save