Split mix commands
This commit is contained in:
parent
6ed0abf6a3
commit
686397e17a
|
@ -1,22 +1,22 @@
|
|||
let mix = require('laravel-mix')
|
||||
|
||||
mix.disableNotifications()
|
||||
.postCss('assets/css/app.css', 'style.css', [
|
||||
require('postcss-import')(),
|
||||
require('tailwindcss')(),
|
||||
require('postcss-nested')(),
|
||||
])
|
||||
.browserSync({
|
||||
proxy: 'wordcamp2019.docksal',
|
||||
notify: false,
|
||||
open: false,
|
||||
files: [
|
||||
'**/*.php',
|
||||
{
|
||||
match: 'style.css',
|
||||
fn: function (event, file) {
|
||||
this.reload()
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
mix.postCss('assets/css/app.css', 'style.css', [
|
||||
require('postcss-import')(),
|
||||
require('tailwindcss')(),
|
||||
require('postcss-nested')()
|
||||
])
|
||||
|
||||
mix.browserSync({
|
||||
proxy: 'wordcamp2019.docksal',
|
||||
notify: false,
|
||||
open: false,
|
||||
files: [
|
||||
'**/*.php',
|
||||
{
|
||||
match: 'style.css',
|
||||
fn: function (event, file) { this.reload() }
|
||||
}
|
||||
]
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue