Closed justLuiz closed 8 years ago
It shouldn't be a problem to make it configurable, I will most likely make it an option you pass into the registerTasks method in your theme's gulpfile.js.
With v1.0.9 you can now pass options to the sass compiler through the registerTask sassOptions config object.
So in your theme's gulpfile.js you could do...
liferayThemeTasks.registerTasks({
gulp: gulp,
sassOptions: {
// Options that get passed to either gulp-sass or gulp-ruby-sass
}
});
Thanks, i will try on my liferay themes.
I looked at the task build: compile-ruby-sass that option sourceMap is set to false, there is a problem for this option to be customizable?