<div dir="ltr"><div dir="ltr">Here is a basic webpack/babel/express/https example for loading node.js .mjs files with<div><br></div><div>import fs from "fs"</div><div><br></div><div>into the client.</div><div><br></div><div>Let me know if you get any errors.</div><div><br></div><div>If anyone wants to create a tutorial (there are *way* too many options online) or otherwise copy over to X3DJSONLD, let me know.</div><div><br></div><div><a href="https://github.com/coderextreme/fstest">https://github.com/coderextreme/fstest</a><br></div><div><br></div><div>This is up-to-date everything except nodejs, which is at: v18.13</div><div><br></div><div>I'm hoping to progress with X3DJSONLD fairly soon.</div><div><br></div><div>Thanks!</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 23, 2023 at 7:40 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Does anyone know how to use JavaScript server code on client?   I think the answer is Babel.<div dir="auto"><br></div><div dir="auto">Thanks!</div><div dir="auto"><br></div><div dir="auto">John</div>
</blockquote></div>