This repository has been archived on 2025-09-29. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/webpack.mix.js

20 lines
384 B
JavaScript
Raw Normal View History

2019-01-24 20:43:18 +00:00
let mix = require('laravel-mix')
2019-04-27 21:41:49 +02:00
require('laravel-mix-purgecss')
2019-02-04 23:55:29 +00:00
mix.disableNotifications()
2019-04-02 10:06:26 +01:00
.postCss('resources/css/app.css', 'source/dist', [
2019-03-20 22:45:25 +00:00
require('tailwindcss')(),
2019-03-20 23:18:22 +00:00
require('postcss-nested')(),
2019-03-20 22:45:25 +00:00
])
2019-04-02 10:06:37 +01:00
.browserSync({
proxy: 'localhost:8000',
notify: false,
files: [
'output_*/**/*'
2019-04-02 10:06:37 +01:00
]
})
2019-04-27 21:41:49 +02:00
.purgeCss({
folders: ['output_*', 'resources']
})