tko
tko copied to clipboard
Could we have ES module entry point to support pika/web?
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
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.
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