1
0
Fork 0
mirror of synced 2024-07-09 00:06:05 +12:00

Merge pull request #10929 from Budibase/fix/font-paths

Fix font paths so they work in both dev and prod
This commit is contained in:
Andrew Kingston 2023-06-16 12:07:09 +01:00 committed by GitHub
commit 224ff4dcbf

View file

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