forked from mirrors/0ad
d76e107dca
Through the `import.meta` property the engine can pass some values to the module. Currently only the `path` of the script file is exposed.
5 lines
51 B
JavaScript
5 lines
51 B
JavaScript
export function getMeta()
|
|
{
|
|
return import.meta;
|
|
}
|