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

ES module output #1061

Open
g-ortuno opened this issue Aug 27, 2019 · 1 comment
Open

ES module output #1061

g-ortuno opened this issue Aug 27, 2019 · 1 comment

Comments

@g-ortuno
Copy link

I might be holding it wrong but I can't find a way to generate plain ES6 modules. I can only generate code with good.module(). Using "module": "es6" causes an error.

@mprobst
Copy link
Contributor

mprobst commented Aug 27, 2019

TsickleHost has an option googmodule that you can set to false, but its only exposed through the programmatic API.

Beware though, we've never tested tsickle together with Closure's ES module support. There are several areas where things might break (e.g. referring to names from externs etc).

@evmar evmar changed the title Feature request: Flag to output ES6 modules ES module output Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants