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

22 lines
641 B
JavaScript
Raw Normal View History

let mix = require('laravel-mix');
require('laravel-mix-purgecss');
require('laravel-mix-tailwind');
mix.disableNotifications()
2018-12-07 22:45:27 +00:00
.sass('assets/sass/app.sass', 'source/css')
2018-09-04 23:30:36 +00:00
.js([
2018-10-27 19:05:16 +00:00
'node_modules/jquery/src/jquery.js',
2018-09-04 21:10:47 +00:00
'assets/js/app.js',
2018-10-27 19:05:16 +00:00
], 'source/js/all.js')
.copyDirectory('node_modules/font-awesome/fonts', 'source/fonts')
.tailwind()
2018-07-13 23:40:32 +00:00
.purgeCss({
globs: [
2018-09-05 16:44:34 +00:00
path.join(__dirname, 'assets/js/**/*.{js,vue}'),
2018-07-13 23:40:32 +00:00
path.join(__dirname, 'output_*/**/*.html'),
],
whitelistPatterns: [/language/, /hljs/],
whitelistPatternsChildren: [/^markdown$/]
});