mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-20 02:29:31 -07:00
progress display
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const version = '2.2.0';
|
||||
const version = require('../version');
|
||||
|
||||
const gulp = require('gulp');
|
||||
const concat = require('gulp-concat');
|
||||
@@ -43,6 +43,7 @@ const js_sources = [
|
||||
'server/scripts/modules/extendedforecast.js',
|
||||
'server/scripts/modules/almanac.js',
|
||||
'server/scripts/modules/radar.js',
|
||||
'server/scripts/modules/progress.js',
|
||||
'server/scripts/modules/navigation.js',
|
||||
];
|
||||
gulp.task('compress_js', () =>
|
||||
@@ -79,6 +80,7 @@ gulp.task('compress_html', () =>
|
||||
gulp.src(html_sources)
|
||||
.pipe(ejs({
|
||||
production: version,
|
||||
version,
|
||||
}))
|
||||
.pipe(rename({extname: '.html'}))
|
||||
.pipe(htmlmin({collapseWhitespace: true}))
|
||||
|
||||
Reference in New Issue
Block a user