do not pack lodash inside browser version

This commit is contained in:
Ivan Tivonenko
2016-01-15 07:10:02 +02:00
parent 6740eee495
commit 0fefb2bd2c
4 changed files with 14 additions and 2 deletions

View File

@@ -16,6 +16,9 @@ function webpackConfig(extension, overrides) {
overrides = overrides || {};
var defaults = {
cache: true,
externals: [{
'lodash': '_'
}],
entry: './src/index.js',
output: {
library: 'ripple',
@@ -52,6 +55,7 @@ function webpackConfigForWebTest(testFileName, path) {
}
var configOverrides = {
externals: [{
'lodash': '_',
'ripple-api': 'ripple',
'net': 'null'
}],