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.
oliverdavies.uk-old-sculpin/webpack.mix.js

24 lines
671 B
JavaScript
Raw Normal View History

let mix = require('laravel-mix');
require('laravel-mix-purgecss');
require('laravel-mix-tailwind');
mix.disableNotifications()
2018-06-03 08:33:12 +00:00
.sass('assets/sass/site.sass', 'source/build/css')
2018-06-01 21:42:43 +00:00
.combine([
'node_modules/jquery/dist/jquery.js',
'node_modules/highlightjs/highlight.pack.js',
'assets/js/site.js',
], 'source/build/js/all.js')
.copyDirectory('assets/images', 'source/build/images')
.copyDirectory('node_modules/font-awesome/fonts', 'source/build/fonts')
.tailwind()
.purgeCss({
globs: [
path.join(__dirname, 'output_*/**/*.html'),
]
2018-05-28 20:55:23 +00:00
})
.options({
processCssUrls: false
});