mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
supply fonts at build-time
This commit is contained in:

committed by
Geoff Seemueller

parent
32339f3f18
commit
d3b11eb22f
@@ -17,6 +17,9 @@ export default defineConfig(({command}) => {
|
||||
console.log("Generated Sitemap -> public/sitemap.xml");
|
||||
child_process.execSync("./scripts/generate_robots_txt.js " + APP_FQDN);
|
||||
console.log("Generated robots.txt -> public/robots.txt");
|
||||
child_process.execSync("cp -r node_modules/katex/dist/fonts public/static/fonts");
|
||||
console.log("Copied KaTeX fonts -> public/static/fonts");
|
||||
|
||||
}
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user