From 7a9c4efc313cc3ec919fa16760d099f455cb9d91 Mon Sep 17 00:00:00 2001 From: Lee Powell Date: Sat, 25 Apr 2020 19:56:54 +0100 Subject: [PATCH] Fix: External source maps not being generated (#324) * Fix: External source maps not being generated * Removed package-lock.json --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 92358b7..187b9bc 100644 --- a/index.js +++ b/index.js @@ -223,7 +223,7 @@ function css(css, file) { if (result.map) { const mapfile = getMapfile(options) - tasks.push(fs.outputFile(mapfile, result.map)) + tasks.push(fs.outputFile(mapfile, result.map.toString())) } } else process.stdout.write(result.css, 'utf8')