Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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"

This comment has been minimized.

Copy link

@yukulele yukulele commented Dec 21, 2017

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

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