chartist-js/tasks/critical.js
2014-11-25 09:52:53 +01:00

26 lines
504 B
JavaScript

/**
* critical
* ========
*
* Use critical to inline above the fold critical CSS during the build process.
*
* Link: https://github.com/bezoerb/grunt-critical
*/
'use strict';
module.exports = function (grunt) {
return {
public: {
options: {
base: './',
css: '<%= pkg.config.public %>/styles/main.css',
width: 320,
height: 3000
},
src: '<%= pkg.config.public %>/index.html',
dest: '<%= pkg.config.public %>/index.html'
}
};
};