-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvite.config.ts
32 lines (32 loc) · 1.18 KB
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import {
defineConfig
} from "vite";
import react from "@vitejs/plugin-react";
// https://vite.dev/config/
export default defineConfig({
plugins: [
react()
],
root: ".",
resolve: {
alias: {
declare: "/packages/core/ui/src/declare.ts",
error: "/packages/core/ui/src/error.tsx",
"global-error": "/packages/core/ui/src/global-error.tsx",
image: "/packages/core/ui/src/image",
index: "/packages/core/ui/src/index",
installExtension: "/packages/core/ui/src/installExtension.tsx",
layout: "/packages/core/ui/src/layout",
loading: "/packages/core/ui/src/loading.tsx",
locales: "/packages/core/ui/src/locales",
main: "/packages/core/ui/src/main.tsx",
manifest: "/packages/core/ui/src/manifest.ts",
"not-found": "/packages/core/ui/src/not-found.tsx",
pages: "/packages/core/ui/src/pages.json",
page: "/packages/core/ui/src/page.tsx",
setting: "/packages/core/ui/src/setting",
sitemap: "/packages/core/ui/src/sitemap.ts",
tools: "/packages/core/ui/src/tools"
}
}
});