cool-admin-vue/packages/vite-plugin/rollup.config.js

23 lines
346 B
JavaScript
Raw Normal View History

2024-04-23 17:26:21 +08:00
import typescript from "@rollup/plugin-typescript";
import { defineConfig } from "rollup";
export default defineConfig({
input: ["src/index.ts"],
2024-10-13 00:40:14 +08:00
external: ["lodash"],
2024-10-13 00:35:44 +08:00
2024-04-23 17:26:21 +08:00
output: {
name: "index",
format: "umd",
file: "dist/index.js",
},
plugins: [
typescript({
module: "esnext",
exclude: ["./node_modules/**"],
}),
],
});