You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import type { RollupOptions } from "rollup";
|
|
import typescript from "@rollup/plugin-typescript";
|
|
|
|
export function create(): RollupOptions {
|
|
return {
|
|
input: "src/index.ts",
|
|
output: {
|
|
file: "dist/main.js",
|
|
format: "commonjs"
|
|
},
|
|
plugins: [typescript()]
|
|
};
|
|
}
|
|
|
|
export default create();
|