From f8e7924ae433612c9de811f0455057945f2908eb Mon Sep 17 00:00:00 2001 From: Jeffrey Way Date: Fri, 27 Jan 2017 16:20:21 -0500 Subject: [PATCH] Fix this dang Windows regex not working dang thing gosh Hat tip @donnysim --- package.json | 2 +- setup/webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 15173ca11..d14be2b7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "laravel-mix", - "version": "0.5.13", + "version": "0.5.14", "description": "Laravel Mix is an elegant wrapper around Webpack for the 80% use case.", "main": "src/index.js", "scripts": { diff --git a/setup/webpack.config.js b/setup/webpack.config.js index 9171e5962..28bdc9cd2 100644 --- a/setup/webpack.config.js +++ b/setup/webpack.config.js @@ -122,7 +122,7 @@ if (Mix.cssPreprocessor) { ); module.exports.module.rules.push({ - test: new RegExp(toCompile.src.fileWithDir + '$'), + test: new RegExp(toCompile.src.fileWithDir.replace(/\\/g, '\\\\') + '$'), loader: extractPlugin.extract({ fallbackLoader: 'style-loader', loader: [