nx.js
Interfaces

ImportMeta

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.

See

https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/import.meta

Properties

PropertyTypeDescription
mainbooleanSet to true when the JavaScript module that is being executed is the entrypoint file of the application.
urlstringContains the absolute URL of the JavaScript module that is being executed. Example "romfs:/main.js"

On this page