mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Disable HTMLmin in dev and fix bundle dependency
This commit is contained in:
parent
5cea4c9231
commit
591f2ff816
2 changed files with 3 additions and 2 deletions
|
@ -24,7 +24,7 @@ const sass = require('gulp-sass');
|
||||||
sass.compiler = require('node-sass')
|
sass.compiler = require('node-sass')
|
||||||
|
|
||||||
|
|
||||||
if(mode.production()) {
|
if (mode.production()) {
|
||||||
var webpack_config = require('./webpack.prod.js');
|
var webpack_config = require('./webpack.prod.js');
|
||||||
} else {
|
} else {
|
||||||
var webpack_config = require('./webpack.dev.js');
|
var webpack_config = require('./webpack.dev.js');
|
||||||
|
@ -94,7 +94,7 @@ function css() {
|
||||||
|
|
||||||
function html() {
|
function html() {
|
||||||
return src(['src/**/*.html', '!src/index.html'], {base: './src/'})
|
return src(['src/**/*.html', '!src/index.html'], {base: './src/'})
|
||||||
.pipe(htmlmin({ collapseWhitespace: true }))
|
.pipe(mode.production(htmlmin({ collapseWhitespace: true })))
|
||||||
.pipe(dest('dist/'))
|
.pipe(dest('dist/'))
|
||||||
.pipe(browserSync.stream());
|
.pipe(browserSync.stream());
|
||||||
}
|
}
|
||||||
|
|
|
@ -722,6 +722,7 @@ var AppInfo = {};
|
||||||
},
|
},
|
||||||
bundles: {
|
bundles: {
|
||||||
bundle: [
|
bundle: [
|
||||||
|
"document-register-element",
|
||||||
"fetch",
|
"fetch",
|
||||||
"flvjs",
|
"flvjs",
|
||||||
"jstree",
|
"jstree",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue