UNPKG

473 BJavaScriptView Raw
1// transpilers
2import 'babel-core/external-helpers';
3
4// workaround for error: `only one instance of babel/polyfill is allowed`
5// so, include the babel/polyfill into build, but load only single instance
6if (global && !global._babelPolyfill) {
7 require('babel/polyfill');
8}
9
10export { Buffer } from 'buffer';
11import * as VirgilCryptoAPI from './src/browser';
12export const Version = PACKAGE_VERSION;
13export const VirgilCrypto = { ...{ Buffer: Buffer }, ...VirgilCryptoAPI };