Skip to content

Commit

Permalink
feat: issue-#150 - Ignore empty files and css file support
Browse files Browse the repository at this point in the history
- Removed partial support for *.css
  file includes - whatever
  dart-sass/node-sass handles
  via their functionality will
  be handled by them.
  • Loading branch information
elycruz committed Aug 18, 2024
1 parent 81855f3 commit d8058ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const MATCH_SASS_FILENAME_RE = /\.sass$/,
const moduleUrl = url.slice(1);
const resolveOptions = {
basedir: dirname(prevUrl),
extensions: ['.scss', '.css', '.sass'],
extensions: ['.scss', '.sass'],
};

// @todo This block should run as a promise instead, will help ensure we're not blocking the thread it is
Expand Down Expand Up @@ -128,7 +128,7 @@ const MATCH_SASS_FILENAME_RE = /\.sass$/,
}); // @note do not `catch` here - let error propagate to rollup level
},

defaultIncludes = ['**/*.sass', '**/*.scss', '**/*.css'],
defaultIncludes = ['**/*.sass', '**/*.scss'],

defaultExcludes = 'node_modules/**';

Expand Down

0 comments on commit d8058ab

Please sign in to comment.