Skip to content

Commit

Permalink
Merge pull request #291 from zkLinkProtocol/feat/fix_build_blank_issue
Browse files Browse the repository at this point in the history
fix: blank page caused nby Chrome v129
  • Loading branch information
zkLeonardo authored Sep 24, 2024
2 parents fc6c4e8 + bb466f0 commit b17aa8e
Show file tree
Hide file tree
Showing 3 changed files with 21,332 additions and 14,356 deletions.
4 changes: 3 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import TopLevelAwaitPlugin from "vite-plugin-top-level-await";
import { portal as portalMeta } from "./data/meta";

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
Expand Down Expand Up @@ -114,6 +114,7 @@ export default defineNuxtConfig({
"process.env.NODE_TYPE": JSON.stringify(process.env.NODE_TYPE),
"process.env.WALLET_CONNECT_PROJECT_ID": JSON.stringify(process.env.WALLET_CONNECT_PROJECT_ID),
},
plugins: [TopLevelAwaitPlugin()],
css: {
preprocessorOptions: {
scss: {
Expand All @@ -130,4 +131,5 @@ export default defineNuxtConfig({
},
},
},
devtools: { enabled: true },
});
Loading

0 comments on commit b17aa8e

Please sign in to comment.