UNPKG

@noxfly/noxus

Version:

Simulate lightweight HTTP-like requests between renderer and main process in Electron applications with MessagePort, with structured and modular design.

33 lines (30 loc) 599 B
import { defineConfig } from "tsup"; const copyrights = ` /** * @copyright 2025 NoxFly * @license MIT * @author NoxFly */ `.trim() export default defineConfig({ entry: { noxus: "src/index.ts" }, keepNames: true, minifyIdentifiers: false, name: "noxus", format: ["cjs", "esm"], dts: true, sourcemap: true, clean: true, outDir: "dist", external: ["electron"], target: "es2020", minify: false, splitting: false, shims: false, treeshake: false, banner: { js: copyrights, } });