1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

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

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",
},
],
}),