Better mix cache management

This commit is contained in:
Bubka 2019-06-05 15:50:24 +02:00
parent 59643295ba
commit 2d4150b5cf

13
webpack.mix.js vendored
View File

@ -13,4 +13,15 @@ const mix = require('laravel-mix');
mix.js('resources/js/app.js', 'public/js')
.js('resources/js/bootstrap.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css');
.sass('resources/sass/app.scss', 'public/css');
if (mix.inProduction()) {
mix.version()
mix.extract([
'vue',
'axios',
'vue-i18n',
'vue-router'
])
}