This change allows saving source map near compiled .css file.
To make it work, the compiler should return not empty map (by default it is empty).
To make it not empty, we should pass sourceMap and outFile options to sass.renderSync method.
The outFile is added automatically in this PR, and sourceMap should be given by a user, like:
This change allows saving source map near compiled .css file.
To make it work, the compiler should return not empty map (by default it is empty). To make it not empty, we should pass
sourceMap
andoutFile
options tosass.renderSync
method.The
outFile
is added automatically in this PR, andsourceMap
should be given by a user, like: