13 lines
343 B
JavaScript
13 lines
343 B
JavaScript
import ts from "rollup-plugin-typescript2";
|
|
import mjs from "@rollup/plugin-node-resolve";
|
|
import cjs from "@rollup/plugin-commonjs";
|
|
import { terser } from "rollup-plugin-terser";
|
|
|
|
export default {
|
|
input: "server.node.ts",
|
|
output: {
|
|
file: "server.node.bundle.js",
|
|
format: "cjs",
|
|
},
|
|
plugins: [cjs(), mjs(), ts(), terser()],
|
|
};
|