Skip to content

Commit

Permalink
#98 - Added note in 'getImporterList()' method.
Browse files Browse the repository at this point in the history
  • Loading branch information
elycruz committed Jul 21, 2022
1 parent bd90509 commit 2885fce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -52,6 +52,7 @@ const MATCH_SASS_FILENAME_RE = /\.sass$/,
extensions: ['.scss', '.sass'],
};

// @todo This block should run as a promise instead, will help ensure we're not blocking the thread it is running on, even though `sass` is probably already running the importer in one.
try {
const file = resolve.sync(moduleUrl, resolveOptions);
lastResult = lastResult.then(() => done({file}));
Expand Down

0 comments on commit 2885fce

Please sign in to comment.