tanglepaysdk-l1tol2
Version:
iota shimmer l1 to l2 demo
18 lines (16 loc) • 561 B
JavaScript
import {createRollupConfig, decoratePlugin, decorateIifeExternal} from "../../rollup.config.mjs";
import pkg from './package.json' assert { type: "json" }
const config = createRollupConfig(pkg)
import copy from 'rollup-plugin-copy'
decoratePlugin(config,copy({
targets: [{
src: '../../node_modules/@iota/client-wasm/web/wasm/client_wasm_bg.wasm', //
dest: './',
rename: 'client_wasm_bg.wasm'
}]
}))
decorateIifeExternal(config,{
'@iota/util.js': 'IotaUtil',
'big-integer':'bigInt'
})
export default config