vega-embed
relies on fast-json-patch
which does not get hoisted properly by parcel
#346
Labels
bug
Something isn't working
Provide a general summary of the issue here
vega-embed
has a dependency onfast-json-patch
which does not currently get hoisted correctly inparcel
.vega-embed
also hasvega-lite
as a required dependency which is almost a 10MB package that we never use.🤔 Expected Behavior?
react-spectrum-charts
will work inparcel
production builds without specialpackage.json
setup.😯 Current Behavior
parcel
apps need to add an alias to theirpackage.json
that points to theindex.js
file forfast-json-patch
instead of theindex.mjs
file.💁 Possible Solution
Remove our dependency on
vega-embed
by reimplementing the necessary parts inreact-spectrum-charts
🔦 Context
No response
🖥️ Steps to Reproduce
fast-json-patch
Version
v1.10.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
Mac OS 14.5
🧢 Your Company/Team
Adobe
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: