MCPcopy Create free account
hub / github.com/RubyLouvre/anu / transformFileSync

Function transformFileSync

test/babel.js:22540–22545  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

22538 }
22539
22540 function transformFileSync(filename) {
22541 var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
22542
22543 opts.filename = filename;
22544 return transform(_fs2.default.readFileSync(filename, "utf8"), opts);
22545 }
22546
22547/***/ },
22548/* 179 */

Callers

nothing calls this directly

Calls 1

transformFunction · 0.85

Tested by

no test coverage detected