Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix: dep
Browse files- svelte.config.js +3 -9
svelte.config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
|
| 2 |
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
| 3 |
-
import adapter from '@sveltejs/adapter-static';
|
| 4 |
|
| 5 |
/** @type {import('@sveltejs/kit').Config} */
|
| 6 |
const config = {
|
|
@@ -12,13 +12,7 @@ const config = {
|
|
| 12 |
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
| 13 |
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
| 14 |
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
| 15 |
-
adapter: adapter(
|
| 16 |
-
pages: 'build',
|
| 17 |
-
assets: 'build',
|
| 18 |
-
fallback: undefined,
|
| 19 |
-
precompress: false,
|
| 20 |
-
strict: true
|
| 21 |
-
})
|
| 22 |
}
|
| 23 |
};
|
| 24 |
|
|
|
|
| 1 |
+
import adapter from '@sveltejs/adapter-auto';
|
| 2 |
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
| 3 |
+
// import adapter from '@sveltejs/adapter-static';
|
| 4 |
|
| 5 |
/** @type {import('@sveltejs/kit').Config} */
|
| 6 |
const config = {
|
|
|
|
| 12 |
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
|
| 13 |
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
|
| 14 |
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
|
| 15 |
+
adapter: adapter()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
};
|
| 18 |
|