Ignore buffer node module in test bundle
This commit is contained in:
parent
90a7457b71
commit
edd51d6052
|
@ -66,7 +66,7 @@ module.exports = function(grunt) {
|
||||||
browserifyOptions: {
|
browserifyOptions: {
|
||||||
standalone: 'openpgp'
|
standalone: 'openpgp'
|
||||||
},
|
},
|
||||||
external: [ 'crypto', 'node-localstorage', 'node-fetch', 'buffer' ]
|
external: [ 'crypto', 'buffer', 'node-localstorage', 'node-fetch' ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openpgp_debug: {
|
openpgp_debug: {
|
||||||
|
@ -78,7 +78,7 @@ module.exports = function(grunt) {
|
||||||
debug: true,
|
debug: true,
|
||||||
standalone: 'openpgp'
|
standalone: 'openpgp'
|
||||||
},
|
},
|
||||||
external: [ 'crypto', 'node-localstorage', 'node-fetch', 'buffer' ]
|
external: [ 'crypto', 'buffer', 'node-localstorage', 'node-fetch' ]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
worker: {
|
worker: {
|
||||||
|
@ -96,7 +96,7 @@ module.exports = function(grunt) {
|
||||||
'test/lib/unittests-bundle.js': [ './test/unittests.js' ]
|
'test/lib/unittests-bundle.js': [ './test/unittests.js' ]
|
||||||
},
|
},
|
||||||
options: {
|
options: {
|
||||||
external: [ 'crypto', 'node-localstorage', 'node-fetch', 'openpgp', '../../dist/openpgp', '../../../dist/openpgp' ]
|
external: [ 'crypto', 'buffer' , 'node-localstorage', 'node-fetch', 'openpgp', '../../dist/openpgp', '../../../dist/openpgp' ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user