UNPKG

fsl-authorization

Version:
26 lines (24 loc) 549 B
import typescript from 'rollup-plugin-typescript2'; import resolve from '@rollup/plugin-node-resolve'; import commonjs from '@rollup/plugin-commonjs'; import nodePolyfills from 'rollup-plugin-node-polyfills'; import { terser } from 'rollup-plugin-terser'; export default { input: './index.ts', output: { file: './dist/bundle.js', format: 'iife', name: 'FSLAuthorization', }, external: ['ethers'], plugins: [ resolve(), commonjs({ ignoreGlobal: true, }), nodePolyfills(), typescript(), terser(), ], context: 'window', };