mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 22:20:27 +08:00
21 lines
322 B
JavaScript
21 lines
322 B
JavaScript
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/**"],
|
|
}),
|
|
],
|
|
});
|