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

21 lines
322 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"],
output: {
name: "index",
format: "umd",
file: "dist/index.js",
},
plugins: [
typescript({
module: "esnext",
exclude: ["./node_modules/**"],
}),
],
});