Closed
Description
The Less-loader has the option 'relativeUrls'.
I need to use it to be able to use a library where assets (fonts, images...) are not relative.
to make it work, I can modify your file 'lib/loaders/less.js' and add relativeUrls: false,
.
Example :
...cssLoader.getLoaders(webpackConfig, ignorePostCssLoader),
{
loader: 'less-loader',
options: {
relativeUrls: false,
sourceMap: webpackConfig.useSourceMaps
}
},
I would be nice if that option could be an option of your 'enableLessLoader' function !
Example :
.enableSassLoader(function(sassOptions) {}, {
relativeUrls: false
})