Skip to content

Commit 7a9c4ef

Browse files
author
Lee Powell
authored
Fix: External source maps not being generated (postcss#324)
* Fix: External source maps not being generated * Removed package-lock.json
1 parent 47104bc commit 7a9c4ef

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
@@ -223,7 +223,7 @@ function css(css, file) {
223223

224224
if (result.map) {
225225
const mapfile = getMapfile(options)
226-
tasks.push(fs.outputFile(mapfile, result.map))
226+
tasks.push(fs.outputFile(mapfile, result.map.toString()))
227227
}
228228
} else process.stdout.write(result.css, 'utf8')
229229

0 commit comments

Comments
 (0)