Переглянути джерело

Get postcss plugin running

Kevin van Zonneveld 9 роки тому
батько
коміт
e491a35e5a
2 змінених файлів з 2 додано та 13 видалено
  1. 2 2
      website/package.json
  2. 0 11
      website/themes/uppy/_config.yml

+ 2 - 2
website/package.json

@@ -16,7 +16,9 @@
     "hexo-renderer-marked": "^0.2.4",
     "hexo-renderer-marked": "^0.2.4",
     "hexo-renderer-scss": "^1.0.1",
     "hexo-renderer-scss": "^1.0.1",
     "hexo-renderer-stylus": "^0.2.0",
     "hexo-renderer-stylus": "^0.2.0",
+    "hexo-renderer-postcss": "^1.0.1",
     "hexo-server": "^0.1.2",
     "hexo-server": "^0.1.2",
+    "postcss-svg": "^1.0.4",
     "hexo-tag-emojis": "^2.0.0",
     "hexo-tag-emojis": "^2.0.0",
     "hexo-util": "^0.2.1"
     "hexo-util": "^0.2.1"
   },
   },
@@ -25,9 +27,7 @@
     "browserify": "^12.0.1",
     "browserify": "^12.0.1",
     "chalk": "^1.1.1",
     "chalk": "^1.1.1",
     "glob": "^6.0.1",
     "glob": "^6.0.1",
-    "hexo-renderer-postcss": "^1.0.1",
     "multi-glob": "^1.0.1",
     "multi-glob": "^1.0.1",
-    "postcss-svg": "^1.0.4",
     "watchify": "^3.6.1"
     "watchify": "^3.6.1"
   }
   }
 }
 }

+ 0 - 11
website/themes/uppy/_config.yml

@@ -1,11 +0,0 @@
-node_sass:
-  debug: false
-  outputStyle: nested
-  precision: 5
-  sourceComments: false
-
-postcss:
-  plugins:
-    postcss-svg:
-      paths: ['images']
-      defaults: "[fill]: #000000"