First of all, thanks for this awesome module!
When I try to import taichi.js in the browser, bundled with esm.sh, as simply as:
<script type="module">
import * as ti from 'https://esm.sh/taichi.js';
</script>
I get the following error:
Uncaught TypeError: R.platform is not a function
at taichi.js:16:126746
at taichi.js:16:133807
at taichi.js:16:134044
at taichi.js:16:3206224
Would you happen to know why? I'm not sure if this is an issue on esm.sh or if there's some config that I might need to apply in the bundling to solve the error.
The simplest codepen here:
https://codepen.io/vasturiano/pen/jENJmJG?editors=1001
Thanks in advance!
First of all, thanks for this awesome module!
When I try to import
taichi.jsin the browser, bundled with esm.sh, as simply as:I get the following error:
Would you happen to know why? I'm not sure if this is an issue on
esm.shor if there's some config that I might need to apply in the bundling to solve the error.The simplest codepen here:
https://codepen.io/vasturiano/pen/jENJmJG?editors=1001
Thanks in advance!