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

Provide a default txt file transformer #9893

Closed
LostLuma opened this issue Aug 3, 2024 · 2 comments · May be fixed by #9899
Closed

Provide a default txt file transformer #9893

LostLuma opened this issue Aug 3, 2024 · 2 comments · May be fixed by #9899

Comments

@LostLuma
Copy link

LostLuma commented Aug 3, 2024

🙋 feature request

@parcel/config-default should provide a transformer for txt files, mimicking Parcel v1 behavior.

🤔 Expected Behavior

Including one or more txt files in a build should include them in the build output w/o configuration.

😯 Current Behavior

No transformer is supplied in the default config.
Building instead yields @parcel/core: No transformers found for public/test.txt.

💁 Possible Solution

Use @parcel/transformer-raw for txt files in the default config.

🔦 Context

I'm trying to include static text files (such as robots.txt, as well as others) in my project.
In Parcel v1 I did not need to configure Parcel on my own to achieve this, however in Parcel v2 I do.

💻 Examples

Not applicable.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.

@github-actions github-actions bot added the Stale Inactive issues label Jan 31, 2025
@LostLuma
Copy link
Author

🫠

@github-actions github-actions bot removed the Stale Inactive issues label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant