Skip to content

Commit 483be31

Browse files
fix: compatibility stylelint v13 (#204)
1 parent 4ed7517 commit 483be31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class StylelintWebpackPlugin {
1616
const options = { ...this.options };
1717

1818
options.files = arrify(options.files).map((file) =>
19-
join(context, '/', file)
19+
join(context, '/', file).replace(/\\/g, '/')
2020
);
2121

2222
const plugin = { name: this.constructor.name };

0 commit comments

Comments
 (0)