You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
343 B

/*!istanbul ignore file */
const { resolve } = require("path");
const { build } = require("esbuild");
const buildIndex = (config) =>
build({
bundle: true,
sourcemap: true,
entryPoints: [resolve(__dirname, "../src/index.ts")],
target: ["es2017"],
globalName: "JsonRpc",
...config,
});
module.exports = buildIndex;