From what I know, it is possible to use the "dynamic import" feature in all JS files, regardless of them being modules or workers or whatever. The syntax for the dynamic import can be found here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import