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

feat: Support named exports #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Oct 24, 2023

  1. feat: Support named exports

    BREAKING CHANGE: Updates the declaration template.
    
    This is a followup on seek-oss#38
    
    The `exports =` declaration was added in e7342df but removed in
    908d491 due some issue in babel which I can't reproduce. Maybe that
    has been fixed downstream in the meantime.
    
    Due to microsoft/TypeScript#40594 we cannot export these names directly
    since class names might not be valid JavaScript identifiers, even though
    they are valid exported names. When that TypeScript bug is resolved this
    can be changed to export the names directly instead of using `export =`.
    The problem with `export =` is that it will let you do `import * as css
    from ...` in addition to `import css from ...` even though only
    `import *` will work.
    laverdet committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    525cd6d View commit details
    Browse the repository at this point in the history