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