svrjs-mod-starter/esbuild.config.js
2024-08-27 07:15:53 +02:00

11 lines
No EOL
223 B
JavaScript

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;
});