exclude jwk-to-pem

This commit is contained in:
Bart Butler 2018-01-31 19:38:07 -08:00
parent 76d7fac967
commit 40a8c54342

View File

@ -51,7 +51,7 @@ module.exports = function(grunt) {
standalone: 'openpgp' standalone: 'openpgp'
}, },
// Don't bundle these packages with openpgp.js // Don't bundle these packages with openpgp.js
external: [ 'crypto', 'buffer', 'node-localstorage', 'node-fetch', 'asn1.js' ], external: [ 'crypto', 'buffer', 'node-localstorage', 'node-fetch', 'asn1.js', 'jwk-to-pem' ],
transform: [ transform: [
["babelify", { ["babelify", {
plugins: ["transform-async-to-generator", plugins: ["transform-async-to-generator",
@ -74,7 +74,7 @@ module.exports = function(grunt) {
debug: true, debug: true,
standalone: 'openpgp' standalone: 'openpgp'
}, },
external: [ 'crypto', 'buffer', 'node-localstorage', 'node-fetch', 'asn1.js' ], external: [ 'crypto', 'buffer', 'node-localstorage', 'node-fetch', 'asn1.js', 'jwk-to-pem' ],
transform: [ transform: [
["babelify", { ["babelify", {
plugins: ["transform-async-to-generator", plugins: ["transform-async-to-generator",