Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

fix parsing for "import" ImportSpecifierSet "from" ModuleSpecifier ";" #28

Closed
domenic opened this issue Jul 15, 2013 · 0 comments
Closed

Comments

@domenic
Copy link

domenic commented Jul 15, 2013

All of the following

import
{ foo } from "foo";
import { foo }
from "foo";
import { foo } from
"foo";

should transpile to

var foo = require("foo").foo;

Similar issues occur when ImportSpecifierSet is Identifier.

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

No branches or pull requests

2 participants