1234567891011121314151617181920 |
- import typescript from "@rollup/plugin-typescript";
- import { defineConfig } from "rollup";
- export default defineConfig({
- input: ["src/index.ts"],
- output: {
- name: "index",
- format: "umd",
- file: "dist/index.js",
- },
- plugins: [
- typescript({
- module: "esnext",
- exclude: ["./node_modules/**"],
- }),
- ],
- });
|