You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Could you please add esm js file in build folder? ESM enables <script type="module"> in browser and avoid pollute window scope.
Describe the solution you'd like
Use webpack to output an esm file
Describe alternatives you've considered
<script type="module">
import simpleKeyboard from 'https://cdn.jsdelivr.net/npm/simple-keyboard@3.6.40/+esm'
</script>
This is a solution, but I want to enable SRI in my project therefore JsDelivr generated esm might not be suitable for me.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
The creation seems to conflicts with js-dos (a emscripten project). And window.SimpleKeyboard is undefined even after script.onload. I thought this may be related to some window scope pollution issue and esm may solve this issue.
Is your feature request related to a problem? Please describe.
Could you please add esm js file in build folder? ESM enables
<script type="module">
in browser and avoid pollutewindow
scope.Describe the solution you'd like
Use webpack to output an esm file
Describe alternatives you've considered
This is a solution, but I want to enable SRI in my project therefore JsDelivr generated esm might not be suitable for me.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: