Skip to content

[SSR] Restrict exports from lwc package #4640

Open
@nolanlawson

Description

@nolanlawson

Follow-up to https://github.com/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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions