Skip to content

Commit

Permalink
💚 Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bal7hazar committed Jan 13, 2025
1 parent 5dc8818 commit 2ffdb03
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/profile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"sonner": "^1.4.41",
"starknet": "^6.11.0",
"viem": "^2.21.32",
"vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-wasm": "^3.3.0",
"zod": "^3.23.8"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/profile/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { defineConfig } from "vite";
import wasm from "vite-plugin-wasm";
import react from "@vitejs/plugin-react-swc";
import topLevelAwait from "vite-plugin-top-level-await";
import process from "node:process";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), wasm()],
plugins: [react(), wasm(), topLevelAwait()],
server: {
port: process.env.NODE_ENV === "development" ? 3003 : undefined,
},
Expand Down
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ffdb03

Please sign in to comment.