mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-17 08:41:38 +03:00
28 lines
525 B
TypeScript
28 lines
525 B
TypeScript
import typescript from '@rollup/plugin-typescript';
|
|
import json from '@rollup/plugin-json';
|
|
|
|
export default [
|
|
{
|
|
input: "src/index.ts",
|
|
output: [
|
|
{
|
|
file: "lib/index.mjs",
|
|
format: "es",
|
|
sourcemap: false,
|
|
},
|
|
{
|
|
file: "lib/index.umd.js",
|
|
name: "orionprotocol",
|
|
format: "umd",
|
|
sourcemap: false,
|
|
},
|
|
],
|
|
plugins: [
|
|
typescript({
|
|
tsconfig: "tsconfig.esm.json",
|
|
sourceMap: false
|
|
}),
|
|
json(),
|
|
],
|
|
},
|
|
]; |