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

Could we have ES module entry point to support pika/web? #95

Open
corlaez opened this issue Mar 22, 2019 · 2 comments
Open

Could we have ES module entry point to support pika/web? #95

corlaez opened this issue Mar 22, 2019 · 2 comments

Comments

@corlaez
Copy link

corlaez commented Mar 22, 2019

I was asked to raise this issue knockout/knockout#2456 here as well

Hello, I am not aware how hard this could be to implement but I want to know if it is possible to have ES modules.

The reason I am asking is that there is this new pika/web project that I wanted to use along knockout but it requires ES modules entry.

pika web: https://twitter.com/pikapkg/status/1101506067807137792
knockout doesn't seem supported https://www.pikapkg.com/packages/?q=knockout

@brianmhunt
Copy link
Member

I believe TKO supports ES modules in the desired way. You would consume them much the way the @tko/build.reference/index.js imports and builds the standalone library.

@mattlacey
Copy link

I realise this response is years too late, but for anyone else finding it ES modules do work, I used them in this template a couple of years back:

https://github.com/mattlacey/tko_webpack

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

3 participants