We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running this on my svelte app, I receive the following error:
ERROR: Cannot find import ../data/menu-items.yml for /src/components/layout/Header.svelte
My Header.svelte file contains:
import menuItems from '../data/menu-items.yml' import type { Submenu } from '../data/menu-items.yml'
When I comment out the import type line, destiny runs fine, but the import type line causes it to fail.
import type
The text was updated successfully, but these errors were encountered:
Hi @acidic9 can share a reproduction (codesandbox, gh repo, etc...) ? Thanks.
Sorry, something went wrong.
I think we just need to add yaml to https://github.com/benawad/destiny/blob/develop/src/index/shared/customResolve.ts
Indeed
No branches or pull requests
When running this on my svelte app, I receive the following error:
My Header.svelte file contains:
import menuItems from '../data/menu-items.yml' import type { Submenu } from '../data/menu-items.yml'
When I comment out the
import type
line, destiny runs fine, but theimport type
line causes it to fail.The text was updated successfully, but these errors were encountered: