mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-30 09:40:58 +00:00
Debugging stuff
This commit is contained in:
parent
7bb7560481
commit
ce2c3ad36e
12
gulpfile.js
12
gulpfile.js
@ -116,12 +116,12 @@ const pipelineJavascript = lazypipe()
|
||||
]
|
||||
});
|
||||
})
|
||||
.pipe(function () {
|
||||
return terser({
|
||||
keep_fnames: true,
|
||||
mangle: false
|
||||
});
|
||||
})
|
||||
// .pipe(function () {
|
||||
// return terser({
|
||||
// keep_fnames: true,
|
||||
// mangle: false
|
||||
// });
|
||||
// })
|
||||
.pipe(function () {
|
||||
return mode.development(sourcemaps.write('.'));
|
||||
});
|
||||
|
@ -11,5 +11,8 @@ function getConfig() {
|
||||
export function enableMultiServer() {
|
||||
return getConfig().then(config => {
|
||||
return config.multiserver;
|
||||
}).catch(error => {
|
||||
console.log("cannot get web config:", error);
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
@ -709,6 +709,10 @@ var AppInfo = {};
|
||||
onError: onRequireJsError
|
||||
});
|
||||
|
||||
require(["fetch"], function (fetch) {
|
||||
console.debug("fetch is here", fetch);
|
||||
});
|
||||
|
||||
require(["polyfill"]);
|
||||
require(["fast-text-encoding"]);
|
||||
require(["intersection-observer"]);
|
||||
|
@ -14,7 +14,7 @@ module.exports = merge(common, {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules[\\/](?!query-string)/,
|
||||
exclude: /node_modules[\\/](?!query-string|split-on-first|strict-uri-encode)/,
|
||||
loader: "babel-loader"
|
||||
},
|
||||
{
|
||||
|
@ -7,7 +7,7 @@ module.exports = merge(common, {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules[\\/](?!query-string)/,
|
||||
exclude: /node_modules[\\/](?!query-string|split-on-first|strict-uri-encode)/,
|
||||
loader: "babel-loader"
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user