0ad/binaries/data/mods/_test.scriptinterface/module/dynamic_import.js
phosit a40caaffc4 Support dynamic import
The static `import` should be prefered over the dynamic but it might be
usefull when loading an object from a json file.
2025-06-06 17:36:35 +02:00

4 lines
63 B
JavaScript

export default function()
{
return import("include/pi.js");
}