Simplify PostCSS plugins

This commit is contained in:
Oliver Davies 2019-07-16 23:14:07 +01:00
parent 9b7558f520
commit 6ac37b0e2f

View file

@ -4,9 +4,9 @@ require('laravel-mix-purgecss')
mix.disableNotifications()
.postCss('resources/css/app.css', 'source/dist/css', [
require('postcss-import')(),
require('tailwindcss')('tailwind.config.js'),
require('postcss-nested')(),
require('postcss-import'),
require('tailwindcss'),
require('postcss-nested'),
])
.extract()
.js('resources/js/app.js', 'source/dist/js')