Replace absolute image paths

This commit is contained in:
adilallo
2025-08-20 12:30:59 -06:00
parent 6e274124c3
commit e871c9de4b
100 changed files with 90292 additions and 62 deletions
+3
View File
@@ -17,6 +17,9 @@ const config = {
},
staticDirs: ["../public"],
async viteFinal(cfg) {
// IMPORTANT: Set base path for GitHub Pages sub-path hosting
cfg.base = "/CommunityRuleStorybook/";
// Ensure esbuild treats .js as JSX during dep pre-bundling
cfg.optimizeDeps ??= {};
cfg.optimizeDeps.esbuildOptions ??= {};