Skip to content

Commit

Permalink
fix: compatibility stylelint v13 (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Jan 16, 2020
1 parent 4ed7517 commit 483be31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class StylelintWebpackPlugin {
const options = { ...this.options };

options.files = arrify(options.files).map((file) =>
join(context, '/', file)
join(context, '/', file).replace(/\\/g, '/')
);

const plugin = { name: this.constructor.name };
Expand Down

0 comments on commit 483be31

Please sign in to comment.