MCPcopy Create free account
hub / github.com/babel/babel / transformFileSync

Function transformFileSync

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

Source from the content-addressed store, hash-verified

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}
46function transformFileAsync(filename, opts) {
47 return babel.transformFileAsync(filename, {
48 cwd,

Callers 1

api.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected