This commit is contained in:
Maurice Grönwoldt 2020-08-08 21:58:15 +02:00
commit 4c4afe3bdf
29 changed files with 595 additions and 139 deletions

View file

@ -16,10 +16,12 @@ const config = {
src: [
basePath + 'utils.js',
basePath + 'gl/glUtils.js',
basePath + 'gl/Camera.js',
basePath + 'template.js',
basePath + 'gl/handler.js',
basePath + 'audio.js',
basePath + 'FileHandler.js',
basePath + 'FetchHandler.js',
basePath + 'playerConfigHandler.js',
basePath + 'player.js',
basePath + 'gui.js',
@ -42,7 +44,7 @@ function build() {
.pipe(concat('scripts.js'))
.pipe(gulp.dest(config.dest))
.pipe(rename('scripts.min.js'))
.pipe(terser())
.pipe(terser().on('error', console.error))
.pipe(gulp.dest(config.dest));
}