- Removed the old footer structure and replaced it with a new layout in GameBoard.svelte, integrating ToggleGroup components for better user interaction. - Introduced a new data structure for game bets in gameBoard.ts, enhancing the game's functionality. - Added ScrollArea and ToggleGroup components to the UI library for improved scrolling and toggle functionality. - Updated utility functions in utils.ts to include types for better type safety. - Adjusted the design page to reflect the new GameBoard component structure. - Modified svelte.config.js to support aliasing for easier imports.
22 lines
378 B
JavaScript
22 lines
378 B
JavaScript
import adapter from '@sveltejs/adapter-cloudflare';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({
|
|
routes: {
|
|
include: ['/*'],
|
|
exclude: ['<all>']
|
|
}
|
|
}),
|
|
alias: {
|
|
"@/*": "./src/lib/*",
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|
|
|