diff --git a/index.js b/index.js index 73f1178..410881f 100644 --- a/index.js +++ b/index.js @@ -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); diff --git a/lib/parse-variable.js b/lib/parse-variable.js index 327b1f1..225d175 100644 --- a/lib/parse-variable.js +++ b/lib/parse-variable.js @@ -52,4 +52,4 @@ const parse = (fileName, scssString, ignoreList) => { return variables; }; -export default parse; +export { parse };