Drupal javascript type="module"

Default book
smplphotoalbum:
  version: VERSION
  js:
...
    js/mousewheel/jquery.mousewheel.min.js: {}
    js/jcanvas/src/jcanvas.js: { attributes: { type: module } }
    js/jcanvas/src/jcanvas-handles.js: { attributes: { type: module } }
....
    js/slide.js: { attributes: { type: "module" } }
    
  dependencies:
    - core/jquery
    - jquery_ui/core
    - jquery_ui_resizable/resizable
    - jquery_ui_draggable/draggable
    - core/once
    - core/drupal
    - core/drupal.ajax