Skip to content

Commit

Permalink
lib/parse-variable.js: switch to a named export
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 28, 2023
1 parent 80ef038 commit e93a36d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { promisify } from 'node:util';
import glob from 'glob';
import escapeRegex from 'escape-string-regexp';
import stripBom from 'strip-bom';
import parse from './lib/parse-variable.js';
import { parse } from './lib/parse-variable.js';

const globP = promisify(glob);

Expand Down
2 changes: 1 addition & 1 deletion lib/parse-variable.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ const parse = (fileName, scssString, ignoreList) => {
return variables;
};

export default parse;
export { parse };

0 comments on commit e93a36d

Please sign in to comment.