Skip to content

Commit

Permalink
hopefully fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Nov 11, 2024
1 parent 2a4e29a commit f045202
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true
"strict": true,
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
//
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"format": "prettier --plugin-search-dir . --write .",
"test": "vitest"
},
"type": "module",
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
Expand Down Expand Up @@ -49,7 +50,6 @@
"vite": "^5.4.8",
"vitest": "^2.1.4"
},
"type": "module",
"dependencies": {
"@creit.tech/stellar-wallets-kit": "^1.2.5"
}
Expand Down
9 changes: 8 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@ export default defineConfig({
],
},
},
ssr: {
noExternal: [
'@creit.tech/stellar-wallets-kit',
'@stellar/freighter-api',
'@lobstrco/signer-extension-api'
],
},
test: {
include: ['src/**/*.{test,spec}.{js,ts}'],
environment: 'jsdom',
globals: true,
setupFiles: './src/setupTest.js',
}
},
})

0 comments on commit f045202

Please sign in to comment.