Sveltekit component library self hosting fonts issue #3409
-
Describe the bugI'm trying to build svelte components lib with Svelte kit. I want to self host my fonts, so I have added them in my custom component "Theme" which exports my global styles and fonts. Folder structure is:
Is there a way to tell Svelte kit to not processing or modifying the files in folder or in general to skip file types in project but add them to package after run the command. Reproduction
LogsNo response System InfoSystem:
OS: macOS Mojave 10.14.5
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 2.55 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.15.5 - ~/.nvm/versions/node/v14.15.5/bin/node
npm: 6.14.11 - ~/.nvm/versions/node/v14.15.5/bin/npm Severityannoyance Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
At first glance, I think you've stumbled upon #3109, please see the answer there if that's the case. But, I think you're misunderstanding what |
Beta Was this translation helpful? Give feedback.
-
Turns out this is a bug indeed, #3507 shows that the image is corrupted, and it seems to be the case for font files (and other binaries) as well. It isn't clear at first glance for this particular case, so an example repository would be helpful next time. |
Beta Was this translation helpful? Give feedback.
Turns out this is a bug indeed, #3507 shows that the image is corrupted, and it seems to be the case for font files (and other binaries) as well. It isn't clear at first glance for this particular case, so an example repository would be helpful next time.