relay-plugin-ipfs/build.js

13 lines
224 B
JavaScript
Raw Normal View History

2022-08-29 22:45:01 +00:00
import esbuild from 'esbuild'
esbuild.buildSync({
entryPoints: ["src/index.ts"],
outfile: "dist/ipfs.js",
format: "cjs",
bundle: true,
platform: "node",
define: {
__dirname: '"./plugins/leveldown"',
}
});