From 7311c32bc3d77b35aa1ae54a068e6b0c34fdbecf Mon Sep 17 00:00:00 2001 From: Jeffrey Way Date: Thu, 1 Jun 2017 13:26:02 -0400 Subject: [PATCH 1/2] Simplify mix require MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note that I left your dang `const` as it is, even though it's stupid. `let` for life. 💃💃💃💃 --- webpack.mix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.mix.js b/webpack.mix.js index 3e6f5712..9a0e5ef2 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -1,4 +1,4 @@ -const { mix } = require('laravel-mix'); +const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- From 4247988ed9ef42496ff31c4208a368c49c5e3714 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 1 Jun 2017 15:13:18 -0500 Subject: [PATCH 2/2] Update webpack.mix.js --- webpack.mix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.mix.js b/webpack.mix.js index 9a0e5ef2..72fdbb16 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -1,4 +1,4 @@ -const mix = require('laravel-mix'); +let mix = require('laravel-mix'); /* |--------------------------------------------------------------------------