Version: 0.5.4
When using <script type="module"> in widget.html, the async functions work and the preview displays correctly. When copying the same code (without the script tag) to script.js, it shows the error "Uncaught SyntaxError: await is only valid in async functions and the top level bodies of modules".
Version: 0.5.4
When using <script type="module"> in widget.html, the async functions work and the preview displays correctly. When copying the same code (without the script tag) to script.js, it shows the error "Uncaught SyntaxError: await is only valid in async functions and the top level bodies of modules".