octobercms-webpack-starter-.../webpack.mix.js

15 lines
386 B
JavaScript
Raw Normal View History

2021-03-27 16:28:49 +00:00
let mix = require('laravel-mix');
mix.options({
processCssUrls: false,
2021-03-27 18:23:39 +00:00
hmrOptions: {
host: 'october.home',
port: '8080'
2021-03-27 16:28:49 +00:00
},
})
.setPublicPath('/')
// .sass('src/scss/style.scss', 'assets/css/style.css')
.postCss('src/css/style.css', 'assets/css/style.css')
.js('src/js/app.js', 'assets/js/scripts.js')
.version();