-
-
Notifications
You must be signed in to change notification settings - Fork 940
Cannot access certain imports - Overriding components #860
Copy link
Copy link
Closed
Description
What version of starlight are you using?
0.11.0
What version of astro are you using?
latest
What package manager are you using?
pnpm
What operating system are you using?
Linux
What browser are you using?
Firefox
Describe the Bug
Certain imports used by overridable components are not exported. utils is one I find I often need to access. Either because the builtin component uses it, or I need translation strings, etc.
List of missing exports I've noticed/needed so far.
utilsconstants
Workaround
You can use a direct path to the node_modules folder to work around the missing exports.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-bd7al8?file=src%2FTest.astro
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels