Skip to content

Commit

Permalink
Build: use double colons in pseudo element
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiy committed Nov 19, 2020
1 parent cdd90b3 commit 3486760
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/charts.min.css

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@
"dist/charts.min.css"
],
"scripts": {
"build": "npm-run-all css-compile css-combine css-prefixes css-minify",
"build": "npm-run-all css-compile css-combine css-prefixes css-minify css-minify-fix",
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents false --source-map-embed false --precision 6 src/ -o dist/",
"css-combine": "postcss dist/charts.css --use postcss-combine-duplicated-selectors --output dist/charts.css",
"css-prefixes": "postcss dist/charts.css --use autoprefixer --output dist/charts.css",
"css-minify": "postcss dist/charts.css --no-map --use cssnano --output dist/charts.min.css",
"css-minify": "postcss dist/charts.css --use cssnano --no-map --output dist/charts.min.css",
"css-minify-fix": "postcss dist/charts.min.css --use postcss-pseudo-element-colons --no-map --output dist/charts.min.css",
"watch": "nodemon -e scss,html --watch src --exec \"npm run build\""
},
"repository": {
Expand All @@ -43,7 +44,8 @@
"npm-run-all": "^4.1.5",
"postcss": "^8.1.2",
"postcss-cli": "^8.1.0",
"postcss-combine-duplicated-selectors": "^10.0.2"
"postcss-combine-duplicated-selectors": "^10.0.2",
"postcss-pseudo-element-colons": "^1.0.2"
},
"cssnano": {
"preset": [
Expand Down

0 comments on commit 3486760

Please sign in to comment.