Skip to content

CS2 Discussion: Features: import/export #4905

@coffeescriptbot

Description

@coffeescriptbot

From @dadleyy on July 21, 2016 18:1

With the adoption of es6 by many, many, many popular javascript frameworks and libraries, supporting import/export has become very relevant to the adoption of coffescript in the codebases that use those frameworks. This issue has been brought up several times in the original coffeescript repository - see also #3162.

At the time of writing this, the import and export keywords are treated by the coffescript lexer as reserved words and throws a compile-time error when encountered.

original comment

Copied from original issue: coffeescript6/discuss#7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions