mirror of
https://github.com/hoppscotch/hoppscotch
synced 2024-11-23 15:48:33 +00:00
20 lines
356 B
TypeScript
20 lines
356 B
TypeScript
|
import { defineConfig } from "tsup";
|
||
|
|
||
|
export default defineConfig({
|
||
|
entry: [ "./src/index.ts" ],
|
||
|
outDir: "./dist/",
|
||
|
format: ["cjs"],
|
||
|
platform: "node",
|
||
|
sourcemap: true,
|
||
|
bundle: true,
|
||
|
target: "node12",
|
||
|
skipNodeModulesBundle: false,
|
||
|
esbuildOptions(options) {
|
||
|
options.bundle = true
|
||
|
},
|
||
|
noExternal: [
|
||
|
/\w+/
|
||
|
],
|
||
|
clean: true,
|
||
|
});
|