MCPcopy
hub / github.com/babel/babel / transformFile

Function transformFile

packages/babel-core/test/api.js:40–42  ·  view source on GitHub ↗
(filename, opts, cb)

Source from the content-addressed store, hash-verified

38}
39
40function transformFile(filename, opts, cb) {
41 return babel.transformFile(filename, { cwd, configFile: false, ...opts }, cb);
42}
43function transformFileSync(filename, opts) {
44 return babel.transformFileSync(filename, { cwd, configFile: false, ...opts });
45}

Callers 1

api.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…