Level 27
So, got it:
Within webpack.mix.js following options should be added:
mix.options({
postCss: [
require('autoprefixer')({
browsers: ['last 3 versions'],
cascade: false
})
]
});
Hi there,
I'm currently trying to set some options for the autoprefixer used within in Mix. I try to limit the respected browser like shown in https://laracasts.com/discuss/channels/elixir/laravel-mix-image-workflow. But I wonder how to pass this information through the webpack.mix.js in Laravel Mix.
Is there anybody who had the same issue and solved it?
Cheers
Christian
So, got it:
Within webpack.mix.js following options should be added:
mix.options({
postCss: [
require('autoprefixer')({
browsers: ['last 3 versions'],
cascade: false
})
]
});
Please or to participate in this conversation.