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

15 lines
386 B
JavaScript

let mix = require('laravel-mix');
mix.options({
processCssUrls: false,
hmrOptions: {
host: 'october.home',
port: '8080'
},
})
.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();