Skip to content

Add package entry points #1261

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

Merged
merged 11 commits into from
Apr 29, 2025
Merged

Add package entry points #1261

merged 11 commits into from
Apr 29, 2025

Conversation

colinrotherham
Copy link
Contributor

Description

As a requirement for #1237 this PR adds Node.js package entry points

Imports can now be resolved automatically by package name:

JavaScript

import { initAll } from 'nhsuk-frontend'

Sass

@import "pkg:nhsuk-frontend";

Checklist

@colinrotherham colinrotherham force-pushed the package-exports branch 11 times, most recently from 4c4cb47 to 3d0dff8 Compare April 25, 2025 07:57
Copy link

@colinrotherham colinrotherham merged commit 0121c06 into main Apr 29, 2025
13 checks passed
@colinrotherham colinrotherham deleted the package-exports branch April 29, 2025 12:32
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