Skip to content

Commit

Permalink
Fix this dang Windows regex not working dang thing gosh
Browse files Browse the repository at this point in the history
Hat tip @donnysim
  • Loading branch information
JeffreyWay committed Jan 27, 2017
1 parent 75529fe commit f8e7924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion setup/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit f8e7924

Please sign in to comment.