21 lines
519 B
JavaScript
21 lines
519 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
|
|
});
|