mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-02 06:33:40 +08:00
23 lines
346 B
JavaScript
23 lines
346 B
JavaScript
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/**"],
|
|
}),
|
|
],
|
|
});
|