cool-admin-vue/packages/vite-plugin/rollup.config.js
2024-10-13 00:35:44 +08:00

23 lines
349 B
JavaScript

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