Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No transformers found for .yml files #7135

Closed
mkaraula opened this issue Oct 19, 2021 · 2 comments · Fixed by #7192
Closed

No transformers found for .yml files #7135

mkaraula opened this issue Oct 19, 2021 · 2 comments · Fixed by #7192

Comments

@mkaraula
Copy link
Contributor

🐛 bug report

When having a .yml file parcel fails with No transformers found for foo.yml. When looking at node_modules/@parcel/config-default/index.jsonit looks like @parcel/transformer-yaml is only used for files ending with .yaml but not .yml

Using this .parcelrc fixes it

{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.yml": ["@parcel/transformer-yaml"]
  }
}

but I guess this should also be part of the default config.

🌍 Your Environment

Software Version(s)
Parcel 2.0.0
@devongovett
Copy link
Member

Want to send a PR to add it? https://github.com/parcel-bundler/parcel/blob/v2/packages/configs/default/index.json#L21

@mkaraula
Copy link
Contributor Author

Of course :)

Here it is: #7192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants