Skip to content

Commit

Permalink
Move the styles.css sourcemap from inline to an external file
Browse files Browse the repository at this point in the history
Fixes #120
  • Loading branch information
dmethvin-gov committed Jun 28, 2018
1 parent 7869315 commit d86cebd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/css/styles.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/css/styles.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"scripts": {
"build": "rm -rf lib/{js,css} && npx babel src/js --out-dir lib/js && npm run compile-sass && npm run autoprefix",
"compile-sass": "node-sass --include-path src/scss/styles.scss src/scss/styles.scss -o lib/css/",
"autoprefix": "npx postcss lib/css/styles.css --use autoprefixer -d lib/css/",
"compile-sass": "node-sass --source-map lib/css/ --source-map-embed false --include-path src/scss/styles.scss src/scss/styles.scss -o lib/css/",
"autoprefix": "npx postcss lib/css/styles.css --use autoprefixer -map -d lib/css/",
"lint": "npm run lint:js && npm run lint:sass",
"lint:js": "eslint --quiet --ext .js --ext .jsx .",
"lint:sass": "sass-lint -c test/config/sass-lint.yaml --verbose",
Expand Down

0 comments on commit d86cebd

Please sign in to comment.