mirror of
https://github.com/andrei0x309/yup-live-chrome-extension.git
synced 2024-11-09 18:10:57 +00:00
19 lines
457 B
TypeScript
19 lines
457 B
TypeScript
|
import { crx } from "@crxjs/vite-plugin";
|
||
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
||
|
import { resolve } from "path";
|
||
|
import { defineConfig } from "vite";
|
||
|
import manifest from "./manifest.json";
|
||
|
|
||
|
const srcDir = resolve(__dirname, "src");
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [svelte(), crx({ manifest })],
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
src: srcDir,
|
||
|
'@': srcDir
|
||
|
},
|
||
|
},
|
||
|
});
|