Skip to content

Commit

Permalink
compile css into single minified file
Browse files Browse the repository at this point in the history
  • Loading branch information
andistuder committed Sep 6, 2017
1 parent 3eb6dfa commit 065d16e
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 2,713 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ module.exports = function (grunt) {
sass: {
compile: {
options: {
style: 'nested'
style: 'compressed'
},
files: {
'public/css/style.css': 'style.scss'
'public/css/style.min.css': 'style.scss'
}
}
},
Expand Down Expand Up @@ -125,7 +125,7 @@ module.exports = function (grunt) {
nonull: true,
expand: true,
cwd: 'node_modules/font-awesome/',
src: ['fonts/**', 'css/**'],
src: ['fonts/**'],
dest: 'public'
},
},
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="alexaVerifyID" content="0nB4V_obvRJ_aeYCgb4upBX4x7Y"/>

<link rel="stylesheet" href="public/css/style.css?t=1234"/>
<link rel="stylesheet" href="public/css/style.min.css?t=1234"/>

<title>Love What Survives | NTS</title>
<meta name="description" content="">
Expand Down
Loading

0 comments on commit 065d16e

Please sign in to comment.