From aef231fa68ae1f1719e7ef4512da6940d5a49805 Mon Sep 17 00:00:00 2001 From: Juni Kim Date: Thu, 25 Dec 2025 12:55:10 -0500 Subject: [PATCH] patch up build --- src/style.css | 8 ++++---- vite.config.ts | 28 +++++++++++++++++++++------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/src/style.css b/src/style.css index 8cd8680..2e65819 100644 --- a/src/style.css +++ b/src/style.css @@ -35,13 +35,13 @@ ul { font-weight:bold; } .highlight3{ - color:black - font=size:1em; + color:black; + font-size:1em; font-weight:bold; } .highlight4{ color:black; - font=size:1.4em; + font-size:1.4em; font-weight:bold; } @@ -79,4 +79,4 @@ h3{ } .end{ color:red; -} \ No newline at end of file +} diff --git a/vite.config.ts b/vite.config.ts index 3cb209a..b181da5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,8 +1,22 @@ -export default { - server: { - watch: { - usePolling: true, - interval: 100, - }, +import { dirname, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; +import { defineConfig } from "vite"; + +const __dirname = dirname(fileURLToPath(import.meta.url)); + +export default defineConfig({ + server: { + watch: { + usePolling: true, + interval: 100, }, -} \ No newline at end of file + }, + build: { + rollupOptions: { + input: { + main: resolve(__dirname, "index.html"), + syllabus: resolve(__dirname, "syllabus.html"), + }, + }, + }, +});