codesandbox-client
codesandbox-client copied to clipboard
Parcelrc doesn't seem to be in effect?
🐛 bug report
Preflight Checklist
- [x] I have read the [Contributing Guidelines][contributing] for this project.
- [x] I agree to follow the [Code of Conduct][code_of_conduct] that this project adheres to.
- [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Description of the problem
I had a parcel project with a .parcelrc
config file, which works perfectly in my local environment. However it doesn't work in codesandbox and it looks like that .parcelrc
does not kick in.
From previous closed issues I know that Parcel 2.x is supported now.
Question: is .parcelrc
supported? If not, is there any way to work around?
How has this issue affected you? What are you trying to accomplish?
I have a parcel project which has a template element with a non-standard src
attribute (src="{{ some_value }}"
in index.html
. With default Parcel behavior, this would go wrong due to the fact that Parcel tries to resolve every src
as a dependency and failed to do so. This can be worked around with a Parcel plugin parcel-resolver-ignore
to skip resolution for some patterns. However we still get the same error in codesandbox, as if .parcelrc
is not in effect (plugin not loaded) or somehow the plugin cannot read the settings from package.json
.
To Reproduce
See the following sandbox. If we run the project in local environment it should work.
Link to sandbox: link (optional)
Your Environment
Software | Name/Version |
---|---|
Сodesandbox | Latest |
Browser | Chrome, Firefox |
Operating System | MacOS |