|
|
@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
const fs = require('fs'); |
|
|
|
const gulp = require('gulp'); |
|
|
|
const htmlmin = require('gulp-htmlmin'); |
|
|
|
const cleancss = require('gulp-clean-css'); |
|
|
|
const uglify = require('gulp-uglify'); |
|
|
|
const gzip = require('gulp-gzip'); |
|
|
|
const inline = require('gulp-inline'); |
|
|
@ -38,6 +37,7 @@ const favicon = require('gulp-base64-favicon'); |
|
|
|
const htmllint = require('gulp-htmllint'); |
|
|
|
const log = require('fancy-log'); |
|
|
|
const csslint = require('gulp-csslint'); |
|
|
|
const crass = require('gulp-crass'); |
|
|
|
|
|
|
|
const dataFolder = 'espurna/data/'; |
|
|
|
const staticFolder = 'espurna/static/'; |
|
|
@ -117,7 +117,7 @@ gulp.task('buildfs_inline', function() { |
|
|
|
pipe(inline({ |
|
|
|
base: 'html/', |
|
|
|
js: [uglify], |
|
|
|
css: [cleancss, inlineImages], |
|
|
|
css: [crass, inlineImages], |
|
|
|
disabledTypes: ['svg', 'img'] |
|
|
|
})). |
|
|
|
pipe(htmlmin({ |
|
|
|