Skip to content
New issue

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

Recover from missing imports when reloading the design system #1106

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Dec 5, 2024

This is a work in progress with a handful of things that need improvements regarding stylesheet loading / editing when in a v4 project.

  • Recover from failed stylesheet imports
  • Read path aliases from tsconfig.json
  • Make stylesheet graph order independent (which I think might be the cause of v4: Intellisense attempts to load CSS config from wrong file #1100)
  • Consider path aliases when doing project discovery
  • Consider path aliases when loading the design system
    • Allow in @import
    • Allow in @config
    • Allow in @plugin
  • Consider path aliases when producing diagnostics
    • Allow in @import
    • Allow in @config
    • Allow in @plugin

@thecrypticace thecrypticace force-pushed the fix/better-import-handling branch 2 times, most recently from a5b5ce8 to 99f66e2 Compare December 13, 2024 15:06
@thecrypticace thecrypticace force-pushed the fix/better-import-handling branch 3 times, most recently from f06f231 to a42a518 Compare December 15, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant