Skip to content

Commit f045202

Browse files
committed
hopefully fix build
1 parent 2a4e29a commit f045202

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

jsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"resolveJsonModule": true,
99
"skipLibCheck": true,
1010
"sourceMap": true,
11-
"strict": true
11+
"strict": true,
1212
}
1313
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files
1414
//

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"format": "prettier --plugin-search-dir . --write .",
1313
"test": "vitest"
1414
},
15+
"type": "module",
1516
"devDependencies": {
1617
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
1718
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
@@ -49,7 +50,6 @@
4950
"vite": "^5.4.8",
5051
"vitest": "^2.1.4"
5152
},
52-
"type": "module",
5353
"dependencies": {
5454
"@creit.tech/stellar-wallets-kit": "^1.2.5"
5555
}

vite.config.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,17 @@ export default defineConfig({
1616
],
1717
},
1818
},
19+
ssr: {
20+
noExternal: [
21+
'@creit.tech/stellar-wallets-kit',
22+
'@stellar/freighter-api',
23+
'@lobstrco/signer-extension-api'
24+
],
25+
},
1926
test: {
2027
include: ['src/**/*.{test,spec}.{js,ts}'],
2128
environment: 'jsdom',
2229
globals: true,
2330
setupFiles: './src/setupTest.js',
24-
}
31+
},
2532
})

0 commit comments

Comments
 (0)