index.js
function defineGlobalVars(runtimeConfig, isDebug) {
    const globals = Object.assign({}, runtimeConfig.globals, {
        APP_DEBUG_MODE: isDebug || !!runtimeConfig.debuggable
    })

    return new webpack.DefinePlugin(globals)
}
function defineGlobalVars(runtimeConfig, isDebug) {
    const globals = Object.assign({}, runtimeConfig.globals, {
        APP_DEBUG_MODE: isDebug || !!runtimeConfig.debuggable
    })

    return new webpack.DefinePlugin(globals)
}
function defineGlobalVars ( runtimeConfig , isDebug ) { const globals = Object . assign ( { } , runtimeConfig . globals , { APP_DEBUG_MODE : isDebug || ! ! runtimeConfig . debuggable } ) return new webpack . DefinePlugin ( globals ) }
define globals variables for injecting them into source scope
@param runtimeConfig
@param isDebug
@returns {object}
define globals variables for injecting them into source scope