Fix font paths so they work in both dev and prod

This commit is contained in:
Andrew Kingston 2023-06-16 10:34:34 +01:00
parent 86a291d371
commit 67ef740532
1 changed files with 2 additions and 2 deletions

View File

@ -64,11 +64,11 @@ export default defineConfig(({ mode }) => {
targets: [
{
src: "../../node_modules/@fontsource/source-sans-pro",
dest: "fonts",
dest: isProduction ? "fonts" : "builder/fonts",
},
{
src: "../../node_modules/remixicon/fonts/*",
dest: "fonts",
dest: isProduction ? "fonts" : "builder/fonts",
},
],
}),