To run the Advent of Svelte project, follow these steps:
Ensure all necessary dependencies are installed by running:
bun install
Before running or previewing, build the project using:
bun run start
To preview a specific day's project, use the run.ts script with the preview option. Replace <day_number> with the desired day number:
bun run run preview <day_number>
This command will build and then preview the project for the specified day.
To run the project in development mode, use the dev option:
bun run run dev <day_number>
This will start the development server for the specified day's project, allowing you to make and see changes in real-time.
dist directory is generated by the build process before attempting to preview.run.ts script handles both building and previewing, so ensure the correct options are used.