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.
21 lines
345 B
21 lines
345 B
import typescript from "@rollup/plugin-typescript";
|
|
import { defineConfig } from "rollup";
|
|
|
|
export default defineConfig({
|
|
input: ["src/index.ts"],
|
|
|
|
external: ["lodash"],
|
|
|
|
output: {
|
|
name: "index",
|
|
format: "umd",
|
|
file: "dist/index.js",
|
|
},
|
|
|
|
plugins: [
|
|
typescript({
|
|
module: "esnext",
|
|
exclude: ["./node_modules/**"],
|
|
}),
|
|
],
|
|
});
|
|
|