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

Unsupported node type 'ExportNamedDeclaration' #226

Open
standy opened this issue Mar 28, 2017 · 1 comment
Open

Unsupported node type 'ExportNamedDeclaration' #226

standy opened this issue Mar 28, 2017 · 1 comment
Labels

Comments

@standy
Copy link

standy commented Mar 28, 2017

Getting error Unsupported node type 'ExportNamedDeclaration' in multiReplaceStatement() at utils\multiReplaceStatement.js:56 while trying to transform classes

Example:

export var SkinnedMesh = function SkinnedMesh() {
};

SkinnedMesh.prototype.update = function (camera) {
  this.camera = camera;
};
@nene
Copy link
Collaborator

nene commented Mar 28, 2017

Thanks for reporting. Looks like yet another bug in the class transform.

@nene nene added the bug label Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants