forked from cerc-io/snowballtools-base
22 lines
405 B
TypeScript
22 lines
405 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',
|
|
},
|
|
},
|
|
define: {
|
|
'process.env': {},
|
|
},
|
|
build: {
|
|
sourcemap: true,
|
|
},
|
|
});
|