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) {
|
||||
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());
|
||||
|
|
|
@ -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: [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue