Skip to content

Commit

Permalink
fix: local remote build
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRalee committed Sep 13, 2024
1 parent 57d3059 commit baae3a1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions layer/nuxt-config/vite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ const { resolve } = createResolver(import.meta.url)
const additionalDeps = [
'bs58',
'bn.js',
'aes-js',
'hash.js',
'js-sha3',
'json-wallets',
'eventemitter3',
'@solana/web3.js',
'@cosmjs/stargate',
'@cosmjs/launchpad',
'@solana/buffer-layout',
'qr-code-generator-vue3',
'@injectivelabs/grpc-web',
'jayson/lib/client/browser',
'@cosmostation/extension-client',
Expand Down Expand Up @@ -72,7 +77,6 @@ export default defineConfig({
include: isProduction
? []
: [
'qrcode-vue3',
'tailwind-merge',
'class-variance-authority',
'mixpanel-browser',
Expand All @@ -89,7 +93,6 @@ export default defineConfig({
'@injectivelabs/utils',
'@injectivelabs/sdk-ts',
'@injectivelabs/wallet-ts',
'@vueuse/integrations/useQRCode',
...(isLocalLayer ? [] : additionalDeps)
],
exclude: ['fsevents']
Expand Down

0 comments on commit baae3a1

Please sign in to comment.