Skip to content

Instantly share code, notes, and snippets.

@matthewrudy
Created December 3, 2018 12:31
Show Gist options
  • Save matthewrudy/fdb6c029b934665438b9f9c679bdf865 to your computer and use it in GitHub Desktop.
Save matthewrudy/fdb6c029b934665438b9f9c679bdf865 to your computer and use it in GitHub Desktop.
Compiling sass to css adds back in the leading zero
$ echo 'p { margin: .5em }' > /tmp/in.scss
$ sass --style compressed /tmp/in.scss /tmp/out.css
$ cat /tmp/out.css
p{margin:0.5em}
/*# sourceMappingURL=out.css.map */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment