MCPcopy
hub / github.com/babel/babel / transformFileAsync

Function transformFileAsync

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

Source from the content-addressed store, hash-verified

44 return babel.transformFileSync(filename, { cwd, configFile: false, ...opts });
45}
46function transformFileAsync(filename, opts) {
47 return babel.transformFileAsync(filename, {
48 cwd,
49 configFile: false,
50 ...opts,
51 });
52}
53
54function transformAsync(code, opts) {
55 return babel.transformAsync(code, { cwd, configFile: false, ...opts });

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…