Browse Source

patch up build

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

8
src/style.css

@ -35,13 +35,13 @@ ul {
font-weight:bold; font-weight:bold;
} }
.highlight3{ .highlight3{
color:black
font=size:1em;
color:black;
font-size:1em;
font-weight:bold; font-weight:bold;
} }
.highlight4{ .highlight4{
color:black; color:black;
font=size:1.4em;
font-size:1.4em;
font-weight:bold; font-weight:bold;
} }
@ -79,4 +79,4 @@ h3{
} }
.end{ .end{
color:red; color:red;
}
}

28
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,
}, },
}
},
build: {
rollupOptions: {
input: {
main: resolve(__dirname, "index.html"),
syllabus: resolve(__dirname, "syllabus.html"),
},
},
},
});
Loading…
Cancel
Save