代码提交
This commit is contained in:
1 parent
1c50c73aa4
commit
1a1369f115
3 files changed
+224
-3
No files matched your search
@@ -2,12 +2,13 @@ import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
import react from "@vitejs/plugin-react";
|
||||
import sourceIdentifierPlugin from "vite-plugin-source-identifier";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
const rootDir = fileURLToPath(new URL(".", import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
plugins: [react(), sourceIdentifierPlugin()],
|
||||
resolve: {
|
||||
alias: [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user