UNPKG

yespower-wasm

Version:
21 lines (18 loc) 536 B
import { getRollupConfig } from '@cpuchain/rollup'; const config = [ getRollupConfig({ input: './src/index.ts' }), getRollupConfig({ input: './src/index.ts', browserName: 'YespowerWASM', polyfillBrowser: false, }), getRollupConfig({ input: './src/index.ts', browserName: 'YespowerWASM', polyfillBrowser: false, minify: true, }), ] config[1].output[0].file = 'lib/yespower.umd.js'; config[2].output[0].file = 'lib/yespower.umd.min.js'; export default config;