From 686397e17a782e78a29a78ee00f09c5b851705d7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 7 Jun 2019 19:18:10 +0100 Subject: [PATCH] Split mix commands --- .../twentynineteen-tailwindcss/webpack.mix.js | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/wp-content/themes/twentynineteen-tailwindcss/webpack.mix.js b/wp-content/themes/twentynineteen-tailwindcss/webpack.mix.js index 9fca576..4890619 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/webpack.mix.js +++ b/wp-content/themes/twentynineteen-tailwindcss/webpack.mix.js @@ -1,22 +1,22 @@ let mix = require('laravel-mix') mix.disableNotifications() - .postCss('assets/css/app.css', 'style.css', [ - require('postcss-import')(), - require('tailwindcss')(), - require('postcss-nested')(), - ]) - .browserSync({ - proxy: 'wordcamp2019.docksal', - notify: false, - open: false, - files: [ - '**/*.php', - { - match: 'style.css', - fn: function (event, file) { - this.reload() - } - } - ] - }) + +mix.postCss('assets/css/app.css', 'style.css', [ + require('postcss-import')(), + require('tailwindcss')(), + require('postcss-nested')() +]) + +mix.browserSync({ + proxy: 'wordcamp2019.docksal', + notify: false, + open: false, + files: [ + '**/*.php', + { + match: 'style.css', + fn: function (event, file) { this.reload() } + } + ] +})