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

19 lines
519 B
JavaScript
Raw Normal View History

2021-03-27 16:28:49 +00:00
let mix = require('laravel-mix');
mix.options({
processCssUrls: false,
autoprefixer: {
enabled: true,
options: {
overrideBrowserslist: ['last 2 versions', '> 1%'],
cascade: true,
grid: true,
}
},
})
.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();