aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.js
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-12-15 14:59:56 -0600
committermat <github@matdoes.dev>2022-12-15 14:59:56 -0600
commit6e723aadf6de45a79b4ef64d288ea275628232c5 (patch)
treec27bcc33aefa9212baf6f3d9c2eb1af88d6c5105 /svelte.config.js
parent89bf3d31e36ad3bdfd45461ee6fb69a4c791f848 (diff)
downloadskyblock-stats-6e723aadf6de45a79b4ef64d288ea275628232c5.tar.gz
skyblock-stats-6e723aadf6de45a79b4ef64d288ea275628232c5.tar.bz2
skyblock-stats-6e723aadf6de45a79b4ef64d288ea275628232c5.zip
start updating to sveltekit v1
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/svelte.config.js b/svelte.config.js
index 8d97638..d9a9253 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -14,47 +14,6 @@ const config = {
kit: {
adapter: adapter(),
- // adapter: adapter({
- // out: 'build',
- // precompress: true,
- // env: {
- // host: '127.0.0.1'
- // }
- // }),
-
-
- // Override http methods in the Todo forms
- methodOverride: {
- allowed: ['PATCH', 'DELETE']
- },
-
- // https://vitejs.dev/config/
- vite: {
- // plugins: [createHtmlPlugin({
- // minify: true
- // })],
- build: {
- rollupOptions: {
- // external: ['discord-api-types/payloads/v9', 'discord-api-types', 'discord-api-types/v9'],
- output: {
- manualChunks: undefined,
- },
- },
- },
- // if the user is on replit or gitpod, use a secure websocket
- server:
- process.env.REPL_ID || process.env.GITPOD_WORKSPACE_ID
- ? {
- hmr: process.env.GITPOD_WORKSPACE_URL
- ? {
- host: process.env.GITPOD_WORKSPACE_URL.replace('https://', '3000-'),
- protocol: "wss",
- clientPort: 443
- }
- : true
- }
- : {},
- },
}
}