You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
The text was updated successfully, but these errors were encountered:
🙋 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.
The text was updated successfully, but these errors were encountered: