Download frontend/svelte.config.js from ismot/testaus3: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/spaces/ismot/testaus3/resolve/main/frontend/svelte.config.js
- Command line
-
hf download hf://spaces/ismot/testaus3/frontend/svelte.config.js
-
curl -L -o svelte.config.js https://huggingface.co/spaces/ismot/testaus3/resolve/main/frontend/svelte.config.js
460 Bytes
| import adapter from '@sveltejs/adapter-static'; | |
| import preprocess from 'svelte-preprocess'; | |
| const dev = process.env.NODE_ENV === 'development'; | |
| console.log(dev) | |
| /** @type {import('@sveltejs/kit').Config} */ | |
| const config = { | |
| preprocess: [ | |
| preprocess({ | |
| postcss: true | |
| }) | |
| ], | |
| kit: { | |
| paths: { | |
| base: '/static' | |
| }, | |
| adapter: adapter({ | |
| pages: 'build', | |
| assets: 'build', | |
| fallback: null, | |
| precompress: false | |
| }) | |
| } | |
| }; | |
| export default config; | |