This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
cardiffbjj.co.uk/webpack.mix.js
2018-07-23 12:06:57 +01:00

21 lines
504 B
JavaScript

let mix = require('laravel-mix');
require('laravel-mix-purgecss');
require('laravel-mix-tailwind');
mix.disableNotifications()
.sass('assets/sass/app.sass', "source/build/css")
.js(['node_modules/vue/dist/vue.js', 'assets/js/site.js'], 'source/build/js/all.js')
.tailwind()
.options({
processCssUrls: false,
})
.purgeCss({
globs: [
path.join(__dirname, 'output_prod/**/*.html'),
],
})
.options({
processCssUrls: false
});