mirror of
https://github.com/halo-dev/plugin-starter.git
synced 2025-10-15 15:41:46 +00:00
refactor: 重构插件配置
This commit is contained in:
@@ -19,7 +19,7 @@ export default defineConfig({
|
||||
entry: "src/index.ts",
|
||||
name: "PluginTemplate",
|
||||
formats: ["iife"],
|
||||
fileName: () => "halo-plugin-template.js",
|
||||
fileName: () => "main.js",
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ["vue", "@halo-dev/shared", "@halo-dev/components"],
|
||||
|
Reference in New Issue
Block a user