Commit 0683bb55 authored by Dave Hoover's avatar Dave Hoover

Respecting commented out imports

parent 1203af74
...@@ -708,7 +708,7 @@ var run = function() { ...@@ -708,7 +708,7 @@ var run = function() {
cb(files[fileNameFromKey(SOL_CACHE_FILE)]); cb(files[fileNameFromKey(SOL_CACHE_FILE)]);
return; return;
} }
var importRegex = /import\s*[\'\"]([^\'\"]+)[\'\"];/g; var importRegex = /^\s*import\s*[\'\"]([^\'\"]+)[\'\"];/g;
var reloop = false; var reloop = false;
do { do {
reloop = false; reloop = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment