Add inline sourcemaps to webpack

This commit is contained in:
MrTimscampi 2020-03-31 16:56:12 +02:00
parent 33f19c0bef
commit 46e145baba
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ var AppInfo = {};
if (!AppInfo.isNativeApp) {
console.debug("loading ApiClient singleton");
return require(["apiclient"], function (apiClientFactory) {
return require(["apiclient"], function (apiClientModule) {
console.debug("creating ApiClient singleton");
var apiClient = new apiClientModule.ApiClient(Dashboard.serverAddress(), apphost.appName(), apphost.appVersion(), apphost.deviceName(), apphost.deviceId());

View File

@ -9,7 +9,7 @@ module.exports = merge(common, {
path: path.resolve(__dirname, "dist"),
libraryTarget: "amd-require"
},
devtool: '#inline-source-map',
devtool: 'inline-source-map',
module: {
rules: [
{