* Add asm.js generation, import via index-asm.js * Less sed-y, more babel-y * Throw error when some failed * CRYPTO_ASM env flag * CHANGELOG
9 lines
333 B
JavaScript
9 lines
333 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
|
|
const stubbed = require('./wasm');
|
|
|
|
module.exports = require('./exports')(stubbed);
|