Skip to content
Permalink
Browse files

Rewrite current sass workflow with new Hugo Pipes, and remove JS work…

…flow
  • Loading branch information...
crgeary committed Jul 19, 2018
1 parent e07fb95 commit 330a233124ed7b0374b427bf7874379051abdd2b
@@ -1,9 +1,5 @@
/public
/node_modules

/static/images
/static/fonts
/static/css/app.css
/static/js/app.js

/functions
/resources

This file was deleted.

Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,3 @@
{{ $s := resources.Get "js/app.js" | minify }}

<script src="{{ $s.Permalink }}"></script>
@@ -1 +1,3 @@
<link rel="stylesheet" href="{{ "css/app.css" | absURL }}">
{{ $s := resources.Get "sass/app.scss" | toCSS | postCSS (dict "config" "postcss.config.js") | minify }}

<link rel="stylesheet" href="{{ $s.Permalink }}" />
Oops, something went wrong.

0 comments on commit 330a233

Please sign in to comment.
You can’t perform that action at this time.