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

21 lines
504 B
JavaScript
Raw Normal View History

2018-07-20 22:30:35 +00:00
let mix = require('laravel-mix');
2018-07-22 21:53:22 +00:00
require('laravel-mix-purgecss');
2018-07-20 22:30:35 +00:00
require('laravel-mix-tailwind');
mix.disableNotifications()
2018-07-22 21:58:58 +00:00
.sass('assets/sass/app.sass', "source/build/css")
2018-07-23 11:06:10 +00:00
.js(['node_modules/vue/dist/vue.js', 'assets/js/site.js'], 'source/build/js/all.js')
2018-07-20 22:30:35 +00:00
.tailwind()
.options({
processCssUrls: false,
2018-07-22 21:53:22 +00:00
})
.purgeCss({
globs: [
path.join(__dirname, 'output_prod/**/*.html'),
],
})
.options({
processCssUrls: false
2018-07-20 22:30:35 +00:00
});