From ceb21b007e6501c26479f2e308c10e13d37c5509 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 28 Mar 2019 08:52:08 +0000 Subject: [PATCH] Use fluent API --- .../twentynineteen-tailwindcss/webpack.mix.js | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/wp-content/themes/twentynineteen-tailwindcss/webpack.mix.js b/wp-content/themes/twentynineteen-tailwindcss/webpack.mix.js index 0055485..d27c632 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/webpack.mix.js +++ b/wp-content/themes/twentynineteen-tailwindcss/webpack.mix.js @@ -1,15 +1,15 @@ -const mix = require('laravel-mix') +let mix = require('laravel-mix') -mix.postCss('src/css/style.css', '', [ - require('tailwindcss')('./tailwind.config.js'), - require('postcss-nested')(), -]) - -mix.browserSync({ - proxy: 'wordcamp2019.docksal', - notify: false, - files: [ - '**/*.php', - 'src/**/*.css' - ], -}) +mix.disableNotifications() + .postCss('src/css/style.css', '', [ + require('tailwindcss')('./tailwind.config.js'), + require('postcss-nested')(), + ]) + .browserSync({ + proxy: 'wordcamp2019.docksal', + notify: false, + files: [ + '**/*.php', + 'src/css/**/*.css' + ], + })