The import.meta meta-property exposes context-specific metadata to a JavaScript module. It contains information about the module, such as the module's URL.
import.meta
Set to true when the JavaScript module that is being executed is the entrypoint file of the application.
true
Contains the absolute URL of the JavaScript module that is being executed.
"romfs:/main.js" Copy
"romfs:/main.js"
Generated using TypeDoc
The
import.meta
meta-property exposes context-specific metadata to a JavaScript module. It contains information about the module, such as the module's URL.