Skip to content

feat: module import for overlayExtension js dependencies (#3482)#3485

Open
dennisrijsdijk wants to merge 1 commit into
crowbartools:v5from
dennisrijsdijk:feat/3482-overlay-js-dependency-modules
Open

feat: module import for overlayExtension js dependencies (#3482)#3485
dennisrijsdijk wants to merge 1 commit into
crowbartools:v5from
dennisrijsdijk:feat/3482-overlay-js-dependency-modules

Conversation

@dennisrijsdijk
Copy link
Copy Markdown
Collaborator

Description of the Change

Adds the ability to specify whether a js dependency for an effect or widget's overlayExtension should be imported as a module, and updated the ejs template to consume this properly. For backwards compatibility, if a js path is specified as a string only, it's imported without the type="module" attribute.

Applicable Issues

#3482

Testing

Ensured it's now possible to import modules into the overlay using overlayExtension.dependencies.js

Ensured string-based dependencies continue to import without type="module"

@dennisrijsdijk dennisrijsdijk requested a review from ebiggz as a code owner May 9, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant