Skip to content

--transform should use Babel’s filename property #4713

@GeoffreyBooth

Description

@GeoffreyBooth

See #4697 (comment). Rather than our CLI loader searching the file tree for .babelrc files or package.json files with a babel key, pass the path and filename of the file to be compiled into Babel in its filename property, so that Babel can follow its own algorithm for finding its options rather than us trying to replicate what it does.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions