Add inline sourcemaps to webpack
This commit is contained in:
+1
-1
@@ -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());
|
||||
|
||||
+1
-1
@@ -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: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user