snowballtools-base/packages/frontend/vite.config.ts
Eric Lewis aea6bfde54 feat: support cf workers
Note: we don't really want to be committing the gql-client. it is a stopgap.
2024-04-24 09:59:47 -04:00

27 lines
644 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",
],
},
});