MCPcopy Index your code
hub / github.com/nodejs/node / getCjsConditions

Function getCjsConditions

lib/internal/modules/helpers.js:101–106  ·  view source on GitHub ↗

* Get the conditions that apply to the CommonJS loader. * @returns {Set }

()

Source from the content-addressed store, hash-verified

99 * @returns {Set<string>}
100 */
101function getCjsConditions() {
102 if (cjsConditions === undefined) {
103 initializeCjsConditions();
104 }
105 return cjsConditions;
106}
107
108function getCjsConditionsArray() {
109 if (cjsConditionsArray === undefined) {

Callers 2

loader.jsFile · 0.85
defaultResolveFunction · 0.85

Calls 1

initializeCjsConditionsFunction · 0.85

Tested by

no test coverage detected