The question is - how to force Laravel Elixir not to generate map files?
At the moment if I run gulp
I will have generated app.css
and app.css.map
file. I don't know what for is this app.css.map
file but I think it's not necessary for me at the moment. Question is - how to force gulp not to generate this file?
At the moment my gulpfile.js
looks like this:
var elixir = require('laravel-elixir');
elixir(function(mix) {
mix.sass('app.scss', 'public/css/app.css');
});
This is no longer achievable via elixir.extend()
syntax, instead the official documentation now suggests to use this:
elixir.config.sourcemaps = false;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With