aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.js
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-02-21 20:43:55 -0600
committermat <github@matdoes.dev>2022-02-21 20:43:55 -0600
commitc680e2463046f4123f6ef3710e5cf9655cf3da57 (patch)
tree1e311f04c6f93054e3ac06584f3f2d057e3ce39a /svelte.config.js
parent34fcffb95db91bc1db80a00af4cf9d1007a9f575 (diff)
downloadskyblock-stats-c680e2463046f4123f6ef3710e5cf9655cf3da57.tar.gz
skyblock-stats-c680e2463046f4123f6ef3710e5cf9655cf3da57.tar.bz2
skyblock-stats-c680e2463046f4123f6ef3710e5cf9655cf3da57.zip
add collections and zones
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js39
1 files changed, 20 insertions, 19 deletions
diff --git a/svelte.config.js b/svelte.config.js
index c9ad951..4811785 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,5 +1,6 @@
// import adapter from '@sveltejs/adapter-static'
-import adapter from '@sveltejs/adapter-node'
+// import adapter from '@sveltejs/adapter-node'
+import adapter from '@sveltejs/adapter-auto'
// import adapter from '@sveltejs/adapter-vercel'
import preprocess from 'svelte-preprocess'
// import { createHtmlPlugin } from 'vite-plugin-html'
@@ -11,14 +12,14 @@ const config = {
preprocess: preprocess(),
kit: {
- // adapter: adapter(),
- adapter: adapter({
- out: 'build',
- precompress: true,
- env: {
- host: '127.0.0.1'
- }
- }),
+ adapter: adapter(),
+ // adapter: adapter({
+ // out: 'build',
+ // precompress: true,
+ // env: {
+ // host: '127.0.0.1'
+ // }
+ // }),
// Override http methods in the Todo forms
@@ -27,19 +28,19 @@ const config = {
},
// https://vitejs.dev/config/
- // vite: {
+ vite: {
// plugins: [createHtmlPlugin({
// minify: true
// })],
- // build: {
- // rollupOptions: {
- // external: ['discord-api-types/payloads/v9', 'discord-api-types', 'discord-api-types/v9'],
- // output: {
- // // manualChunks: undefined,
- // },
- // },
- // },
- // },
+ build: {
+ rollupOptions: {
+ // external: ['discord-api-types/payloads/v9', 'discord-api-types', 'discord-api-types/v9'],
+ output: {
+ manualChunks: undefined,
+ },
+ },
+ },
+ },
}
};