Skip to content
This repository was archived by the owner on May 19, 2018. It is now read-only.
/ babylon Public archive
This repository was archived by the owner on May 19, 2018. It is now read-only.

Failed to parse export * as default from #469

@loganfsmyth

Description

@loganfsmyth
require('babylon').parse('export * as default from "foo";', {
  plugins: ['exportExtensions'],
  sourceType: "module",
})

Current Behavior

throws

SyntaxError: Unexpected token (1:12)

Expected Behavior

Should parse just like export * as foo from "foo"; does.

Filed from tc39/proposal-export-ns-from#1 which I totally forgot about.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions