shithub: hugo

Download patch

ref: 66f688f7120560ca787c1a23e3e7fbc3aa617956
parent: 2c934be8ab01e18fc2f5c56c35a6957f2d7b3af3
author: Anthony Fok <[email protected]>
date: Fri Aug 24 06:08:56 EDT 2018

snap: Skip installing postcss due to failure on build server

npm running on fails to fetch postcss-cli on build.snapcraft.io
due to network proxy issue.

See https://forum.snapcraft.io/t/build-fails-behind-proxy-on-build-snapcraft-io/6951/3

--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -58,16 +58,8 @@
 
   node:
     plugin: nodejs
-    node-packages: [postcss-cli]
-    filesets:
-      node:
-        - bin/node
-      postcss:
-        - bin/postcss
-        - lib/node_modules/postcss-cli/*
     prime:
-      - $node
-      - $postcss
+      - bin/node
 
   pygments:
     plugin: python