初始化项目
This commit is contained in:
16
apps/extension/vite.config.js
Normal file
16
apps/extension/vite.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import path from "node:path";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
base: "./",
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: {
|
||||
popup: path.resolve(__dirname, "popup.html"),
|
||||
options: path.resolve(__dirname, "options.html")
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user