Fix font paths so they work in both dev and prod
This commit is contained in:
parent
86a291d371
commit
67ef740532
|
@ -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",
|
||||
},
|
||||
],
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue