Latest changes
This commit is contained in:
parent
c66526241c
commit
18c6684fb2
10 changed files with 265 additions and 29 deletions
|
@ -1,16 +1,16 @@
|
|||
import { defineConfig } from "vite"
|
||||
import react from "@vitejs/plugin-react"
|
||||
import path from "path"
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import path from "path";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
config: path.resolve(__dirname, "/src/config.json"),
|
||||
styles: path.resolve(__dirname, "/src/styles"),
|
||||
components: path.resolve(__dirname, "/src/components"),
|
||||
hooks: path.resolve(__dirname, "/src/hooks"),
|
||||
pages: path.resolve(__dirname, "/src/pages"),
|
||||
},
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
config: path.resolve(__dirname, "/src/config.json"),
|
||||
styles: path.resolve(__dirname, "/src/styles"),
|
||||
components: path.resolve(__dirname, "/src/components"),
|
||||
hooks: path.resolve(__dirname, "/src/hooks"),
|
||||
pages: path.resolve(__dirname, "/src/pages"),
|
||||
},
|
||||
})
|
||||
},
|
||||
});
|
||||
|
|
Reference in a new issue