Add browsersync
This commit is contained in:
parent
2022cec0f5
commit
af5631ea4c
3 changed files with 630 additions and 19 deletions
|
@ -14,6 +14,14 @@ mix.js([
|
|||
'assets/js/app.js',
|
||||
], 'source/dist/js/app.js')
|
||||
|
||||
mix.browserSync({
|
||||
proxy: 'localhost:8000',
|
||||
files: [
|
||||
'source/**/*.{html,md,twig}',
|
||||
],
|
||||
notify: false,
|
||||
})
|
||||
|
||||
mix.purgeCss({
|
||||
folders: ['assets', 'output_*'],
|
||||
whitelistPatterns: [/language/, /hljs/],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue