mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add inline sourcemaps to webpack
This commit is contained in:
parent
33f19c0bef
commit
46e145baba
2 changed files with 2 additions and 2 deletions
|
@ -288,7 +288,7 @@ var AppInfo = {};
|
||||||
if (!AppInfo.isNativeApp) {
|
if (!AppInfo.isNativeApp) {
|
||||||
console.debug("loading ApiClient singleton");
|
console.debug("loading ApiClient singleton");
|
||||||
|
|
||||||
return require(["apiclient"], function (apiClientFactory) {
|
return require(["apiclient"], function (apiClientModule) {
|
||||||
console.debug("creating ApiClient singleton");
|
console.debug("creating ApiClient singleton");
|
||||||
|
|
||||||
var apiClient = new apiClientModule.ApiClient(Dashboard.serverAddress(), apphost.appName(), apphost.appVersion(), apphost.deviceName(), apphost.deviceId());
|
var apiClient = new apiClientModule.ApiClient(Dashboard.serverAddress(), apphost.appName(), apphost.appVersion(), apphost.deviceName(), apphost.deviceId());
|
||||||
|
|
|
@ -9,7 +9,7 @@ module.exports = merge(common, {
|
||||||
path: path.resolve(__dirname, "dist"),
|
path: path.resolve(__dirname, "dist"),
|
||||||
libraryTarget: "amd-require"
|
libraryTarget: "amd-require"
|
||||||
},
|
},
|
||||||
devtool: '#inline-source-map',
|
devtool: 'inline-source-map',
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue