Skip to content

Commit

Permalink
Fix: External source maps not being generated
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Powell committed Apr 25, 2020
1 parent 47104bc commit 6676a77
Show file tree
Hide file tree
Showing 2 changed files with 4,499 additions 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
Loading

0 comments on commit 6676a77

Please sign in to comment.