mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-23 05:07:44 +00:00
21 lines
422 B
TypeScript
21 lines
422 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
utils: '/src/utils',
|
|
assets: '/src/assets',
|
|
context: '/src/context',
|
|
components: '/src/components',
|
|
pages: '/src/pages',
|
|
types: '/src/types',
|
|
},
|
|
},
|
|
define: {
|
|
'process.env': {},
|
|
},
|
|
});
|