mirror of
https://github.com/patdelphi/suanming.git
synced 2026-02-27 21:23:12 +08:00
Initial commit: AI-powered numerology analysis application
This commit is contained in:
22
vite.config.ts
Normal file
22
vite.config.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import path from "path"
|
||||
import react from "@vitejs/plugin-react"
|
||||
import { defineConfig } from "vite"
|
||||
import sourceIdentifierPlugin from 'vite-plugin-source-info'
|
||||
|
||||
const isProd = process.env.BUILD_MODE === 'prod'
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
sourceIdentifierPlugin({
|
||||
enabled: !isProd,
|
||||
attributePrefix: 'data-matrix',
|
||||
includeProps: true,
|
||||
})
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user