Skip to content

Commit

Permalink
Fix: External source maps not being generated (#324)
Browse files Browse the repository at this point in the history
* Fix: External source maps not being generated

* Removed package-lock.json
  • Loading branch information
Lee Powell committed Apr 25, 2020
1 parent 47104bc commit 7a9c4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 7a9c4ef

Please sign in to comment.