Casey Brooks
07/10/2019, 9:45 PMjsBrowserWebpack
to create the bundle, and added it to my HTML page with a <script>
tag, but i can’t figure out how to access my module from thereCasey Brooks
07/10/2019, 10:08 PMtype="module"
attribute, and the module runs within the Kotlin main()
.[JB] Shagen
07/11/2019, 7:00 AMCasey Brooks
07/11/2019, 1:15 PMtype="module"
wasn’t what was needed. Having the script compiled with a main()
method is all that was needed. to get it to run. But it would be nice to use the module as a library (called from plain JS on the same page) instead of using it as a full app.[JB] Shagen
07/12/2019, 2:42 PM