Browse Source

patch up build

site-edits
Juni Kim 1 month ago
parent
commit
aef231fa68
  1. 6
      src/style.css
  2. 18
      vite.config.ts

6
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;
}

18
vite.config.ts

@ -1,8 +1,22 @@
export default {
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,
},
},
}
build: {
rollupOptions: {
input: {
main: resolve(__dirname, "index.html"),
syllabus: resolve(__dirname, "syllabus.html"),
},
},
},
});
Loading…
Cancel
Save