mernmail-svrjs-mod/esbuild.config.js

11 lines
223 B
JavaScript
Raw Permalink Normal View History

2024-11-08 16:32:47 +01:00
const esbuild = require("esbuild");
esbuild.build({
entryPoints: ["src/index.js"],
bundle: true,
outfile: "dist/mod.js", // Mod output file
platform: "node",
target: "es2017",
}).catch((err) => {
throw err;
});