Skip to content

Instantly share code, notes, and snippets.

@philipboomy
philipboomy / webpack.mix.js
Last active June 8, 2018 17:59
Works with latest laravel-mix
const mix = require('laravel-mix');
const tailwindcss = require('tailwindcss');
require('laravel-mix-purgecss');
mix.postCss('src-css/themename.css', 'css')
.options({
postCss: [tailwindcss('tailwind.js')],
processCssUrls: false,
})
.js([