CCF/tests/js-interpreter-reuse/rollup.config.js

15 строки
381 B
JavaScript

import { nodeResolve } from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import typescript from "@rollup/plugin-typescript";
export default {
input: "src/rollup_entry.ts",
output: {
dir: "dist/src",
format: "es",
preserveModules: true,
preserveModulesRoot: "src",
},
plugins: [nodeResolve(), typescript(), commonjs()],
};