Switch build system to rollup

Also, default to minimized builds.
This commit is contained in:
Daniel Huigens
2020-04-23 02:08:28 +02:00
parent b9ca597db4
commit 9cf2d56595
56 changed files with 844 additions and 5022 deletions

View File

@@ -1,4 +1,4 @@
const openpgp = typeof window !== 'undefined' && window.openpgp ? window.openpgp : require('../../dist/openpgp');
const openpgp = typeof window !== 'undefined' && window.openpgp ? window.openpgp : require('../..');
const { key, message, enums, packet: { List, Signature } } = openpgp;
@@ -91,4 +91,4 @@ async function makeKeyValid() {
expect(await encryptFails(modifiedkey)).to.be.true;
}
it('Does not accept unsigned subpackets', makeKeyValid);
module.exports = () => it('Does not accept unsigned subpackets', makeKeyValid);