diff --git a/src/index.js b/src/index.js index 53f02ed..ed450f5 100644 --- a/src/index.js +++ b/src/index.js @@ -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 };