Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-hyperlink] Fixed hyperlink import path error #4045

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

sdadn
Copy link
Contributor

@sdadn sdadn commented Feb 27, 2024

Summary

This PR tweaks the scss import path in terra-hyperlink to resolve a potential "path not found" error by webpack.

Adding a ~ at the start causes webpack to recognize the path as a node_module.
PatrickJS/PatrickJS-starter#727

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

This was tested by running npm start and ensuring that the dev site still compiles.

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details


Thank you for contributing to Terra.
@cerner/terra

@sdadn sdadn self-assigned this Feb 27, 2024
@sdadn sdadn requested a review from a team as a code owner February 27, 2024 18:20
@github-actions github-actions bot temporarily deployed to preview-pr-4045 February 27, 2024 18:20 Destroyed
@JessieRandle
Copy link
Contributor

do we also need to fix this in the other 7 packages with this same import?

@sdadn
Copy link
Contributor Author

sdadn commented Feb 27, 2024

do we also need to fix this in the other 7 packages with this same import?

No because this is the only package that imports from terra-theme-properties:

CleanShot 2024-02-27 at 12 27 02@2x

@JessieRandle
Copy link
Contributor

hah! fair enough! :)

do we also need to fix this in the other 7 packages with this same import?

No because this is the only package that imports from terra-theme-properties:

CleanShot 2024-02-27 at 12 27 02@2x

@sdadn sdadn merged commit 77344a6 into main Feb 27, 2024
22 checks passed
@sdadn sdadn deleted the fix-hyperlink-scss branch February 27, 2024 18:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants