Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Chore(web-react): Use exports and imports field #1943

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

Conversation

literat
Copy link
Collaborator

@literat literat commented Feb 14, 2025

Description

Refactor entry points of the web-react package. Use the modern exports field instead of the main, module, types.

Also, I have discovered some kind of Node.js imports magic using the imports field. Which is respected by TypeScript, Jest and other tools, so can be used for aliasing the paths. The # is mandatory.

Additional context

Issue reference

@github-actions github-actions bot added the maintenance Changes to the build process or auxilary tools and libraries or other maintenance label Feb 14, 2025
Copy link

netlify bot commented Feb 14, 2025

Deploy Preview for spirit-design-system-storybook ready!

Name Link
🔨 Latest commit 1b8e597
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-storybook/deploys/67b6fcf8b0b56200087d0b47
😎 Deploy Preview https://deploy-preview-1943--spirit-design-system-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 14, 2025

Deploy Preview for spirit-design-system ready!

Name Link
🔨 Latest commit 1b8e597
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system/deploys/67b6fcf8183ff400081b6bee
😎 Deploy Preview https://deploy-preview-1943--spirit-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (no change from production)
Accessibility: 91 (no change from production)
Best Practices: 100 (no change from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
maintenance Changes to the build process or auxilary tools and libraries or other maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants