tko icon indicating copy to clipboard operation
tko copied to clipboard

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

Open corlaez opened this issue 6 years ago • 2 comments
trafficstars

I was asked to raise this issue https://github.com/knockout/knockout/issues/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

corlaez avatar Mar 22 '19 17:03 corlaez

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.

brianmhunt avatar Mar 22 '19 18:03 brianmhunt

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

mattlacey avatar Dec 13 '23 10:12 mattlacey