Skip to content

Commit 9dbebf5

Browse files
authored
Remove to options value
When passing `to` it truncates the output source map file path to just the path base name. By removing this value the paths are now correct. The implementation of this logic is found [here](https://github.com/postcss/postcss/blob/master/lib/map-generator.es6#L179-L195)
1 parent 0a643de commit 9dbebf5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ module.exports = function loader (css, map, meta) {
103103

104104
let plugins = config.plugins || []
105105
let options = Object.assign({
106-
to: file,
107106
from: file,
108107
map: sourceMap
109108
? sourceMap === 'inline'

0 commit comments

Comments
 (0)