Skip to content

Commit

Permalink
fix: require is undefined, close #205
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Nov 30, 2020
1 parent 76ec5c0 commit bdc8b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function circularReference(maps) {
}, maps);
}

export default (options = {}) => {
module.exports = (options = {}) => {
options = {
atRules: [...new Set(['for', 'if', 'else', 'each', 'mixin', 'custom-media', ...options.atRules || ''])],
variables: {...options.variables}
Expand Down Expand Up @@ -42,4 +42,4 @@ export default (options = {}) => {
};
};

export const postcss = true;
module.exports.postcss = true;

0 comments on commit bdc8b2f

Please sign in to comment.