Skip to main content

MODULE_FILE_REF

Constant MODULE_FILE_REF 

Source
pub const MODULE_FILE_REF: &str = "module:";
Expand description

A reference on the empty-module import node of a JavaScript or TypeScript file that is a module: it has a top-level import or export statement (TypeScript draws the line the same way), or a top-level CommonJS module.exports / exports.f assignment. A file without one is a script, whose top-level names are globals.