Latest version (#12)
All checks were successful
release-tag / release-image (push) Successful in 2m17s
All checks were successful
release-tag / release-image (push) Successful in 2m17s
Co-authored-by: itoshi <kkzemeow@gmail.com> Co-authored-by: Spynder <19329095+Spynder@users.noreply.github.com> Reviewed-on: #12 Co-authored-by: Alexander Lazarenko <kerblif@unprism.ru> Co-committed-by: Alexander Lazarenko <kerblif@unprism.ru>
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
import {defineConfig} from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from "vite";
|
||||
import * as path from "path";
|
||||
import svgr from "vite-plugin-svgr";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
})
|
||||
plugins: [svgr(), react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@ui": path.resolve(__dirname, "./src/components/ui"),
|
||||
"@stores": path.resolve(__dirname, "./src/store"),
|
||||
"@providers": path.resolve(__dirname, "./src/providers"),
|
||||
"@lib": path.resolve(__dirname, "./src/lib"),
|
||||
"@components": path.resolve(__dirname, "./src/components"),
|
||||
"@": path.resolve(__dirname, "./src/"),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user