Skip to content

Commit 90e1b53

Browse files
fix: correct static paths, put fonts in media folder for monaco icons (#3193)
1 parent 7205874 commit 90e1b53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rsbuild.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ export default defineConfig({
7878
output: {
7979
distPath: {
8080
root: './build',
81+
// YDB server that serves static files expects fonts to be in media folder
82+
font: 'static/media',
8183
},
82-
assetPrefix: '.',
84+
assetPrefix: 'auto',
8385
sourceMap: {
8486
js: process.env.GENERATE_SOURCEMAP !== 'false' ? 'source-map' : false,
8587
},

0 commit comments

Comments
 (0)