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

DS import changes #8694

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

DS import changes #8694

wants to merge 3 commits into from

Conversation

wpears
Copy link
Member

@wpears wpears commented Dec 18, 2024

In 3.6.x, the design system added an exports key, to allow the tippy.js library to be excluded except where it's specifically used.

However, when exports are added, the default filesystem search when an importer tries to grab a file no longer works. This is how we were importing scripts and fonts in cf.gov (and really was the only way to do it).

3.6.2 added a way to import icons nicely, so this PR updates our icon and script imports to what the design-system now requires.

Testing

  • Pull and build
  • Jump around to various local pages (including apps) to make sure everything looks good / works

eslint.config.js Outdated Show resolved Hide resolved
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.

2 participants