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

[SSR] Restrict exports from lwc package #4640

Open
nolanlawson opened this issue Oct 15, 2024 · 1 comment
Open

[SSR] Restrict exports from lwc package #4640

nolanlawson opened this issue Oct 15, 2024 · 1 comment

Comments

@nolanlawson
Copy link
Collaborator

Follow-up to https:/salesforce/lwc/pull/4617/files#r1800044756.

If you can't import certain things from 'lwc', then you shouldn't be able to export them either:

export { foo } from 'lwc'

Also we should probably rename allowedLwcImports to ssrFriendlyLwcImports or something, since that's the real intent.

Copy link

git2gus bot commented Oct 15, 2024

This issue has been linked to a new work item: W-16984771

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant