0ad/binaries/data/mods/_test.scriptinterface/module/meta.js
phosit d76e107dca Support the import.meta property
Through the `import.meta` property the engine can pass some values to
the module. Currently only the `path` of the script file is exposed.
2025-06-06 17:36:35 +02:00

4 lines
51 B
JavaScript

export function getMeta()
{
return import.meta;
}