mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 20:47:44 +00:00
33 lines
721 B
TypeScript
33 lines
721 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',
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
include: [
|
|
// "@snowballtools/types",
|
|
// "@snowballtools/utils",
|
|
// "@snowballtools/auth",
|
|
// "@snowballtools/auth-lit",
|
|
// "@snowballtools/smartwallet-alchemy-light",
|
|
// "@snowballtools/link-lit-alchemy-light",
|
|
// "@snowballtools/js-sdk",
|
|
],
|
|
},
|
|
define: {
|
|
'process.env': {},
|
|
},
|
|
build: {
|
|
sourcemap: true,
|
|
},
|
|
});
|