- @jessesivonen opened merge request.
- ๐ซ๐ฎFinland jessesivonen
I found out new information about the issue when testing it more: JavaScript with
type="module"
works quite well already without the fix. The problem I encountered is related to how JavaScript is incorrectly handled as CSS by loadjs when it has file extension ".css". That problem is related to Vite module with dev server enabled. Although the fix to this issue might stop the symptoms of that problem, it should be properly handled as a separate issue, which I just created: https://www.drupal.org/project/vite/issues/3505461 ๐ Ajax form API adds Vite CSS-in-JS modules as CSS ActiveI removed
type="module"
from the issue summary, and continue working on trying to create a test for the changes which are supposed to fix thenomodule
case.