Skip to content

Commit ba07207

Browse files
committed
Merge pull request webpack-contrib#57 from cspotcode/issue/proper-sourcemap
Return proper sourcemap instead of SourceMapGenerator
2 parents 1e7af1c + a91b8d1 commit ba07207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = function (source, map) {
4848
result.warnings().forEach(function (msg) {
4949
loader.emitWarning(msg.toString());
5050
});
51-
callback(null, result.css, result.map);
51+
callback(null, result.css, result.map.toJSON());
5252
})
5353
.catch(function (error) {
5454
if ( error.name === 'CssSyntaxError' ) {

0 commit comments

Comments
 (0)