Skip to content

Commit

Permalink
remove outdated rollup configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Oct 14, 2024
1 parent f115d48 commit 2086cc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
6 changes: 2 additions & 4 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import preprocess from 'svelte-preprocess'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import adapter from '@sveltejs/adapter-static'

/** @type {import('@sveltejs/kit').Config} */
Expand All @@ -9,9 +9,7 @@ const config = {
}),
},
preprocess: [
preprocess({
postcss: true,
}),
vitePreprocess()
],
}

Expand Down
14 changes: 0 additions & 14 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { sveltekit } from '@sveltejs/kit/vite'
import { defineConfig } from 'vite'
import { NodeGlobalsPolyfillPlugin } from '@esbuild-plugins/node-globals-polyfill'
import inject from '@rollup/plugin-inject'
import path from 'path'

export default defineConfig({
plugins: [sveltekit()],
Expand All @@ -18,16 +16,4 @@ export default defineConfig({
],
},
},
build: {
rollupOptions: {
plugins: [
inject({
window: path.resolve('src/lib/window.js'),
}),
],
},
},
ssr: {
noExternal: ['@stellar/typescript-wallet-sdk-km', '@albedo-link/intent'],
},
})

0 comments on commit 2086cc3

Please sign in to comment.