Skip to content

Instantly share code, notes, and snippets.

@asciidisco
Created March 11, 2016 10:11
Show Gist options
  • Save asciidisco/5c0020f25d7d9dccc5c5 to your computer and use it in GitHub Desktop.
Save asciidisco/5c0020f25d7d9dccc5c5 to your computer and use it in GitHub Desktop.
npm sass, autoprefixer, minifier, sourcemaps
"scripts" {
"styles:dev": "node-sass --source-map-embed --follow --output-style expanded src/styles/main.scss | postcss -u autoprefixer -u cssnano -o public/main.css --map file"
}
@yukulele
Copy link

yukulele commented Dec 21, 2017

source maps are relative to project directory, how to make it relative to .css/.css.map directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment