Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
test: /\.js$/,
loader: 'strict-loader',
exclude: [/node_modules/, /vendor/]
}
],
}
};
var noConflictConfigBase = extend({}, UMDConfigBase);
noConflictConfigBase.entry = {
'rollbar.noconflict.umd': ['./src/browser/bundles/rollbar.noconflict.js']
};
var namedAMDConfigBase = extend({}, UMDConfigBase);
namedAMDConfigBase.entry = {
'rollbar.named-amd': namedAMDConfigBase.entry['rollbar.umd']
};
namedAMDConfigBase.output = extend({}, namedAMDConfigBase.output);
namedAMDConfigBase.output.library = 'rollbar';
namedAMDConfigBase.output.libraryTarget = 'amd';
var config = [snippetConfig, pluginConfig];
function optimizationConfig(minimizer) {
return {
minimize: minimizer ? true : false,
minimizer: minimizer ? [minimizer] : []
}
}
function addVanillaToConfig(webpackConfig, filename, extraPlugins, minimizer) {