New external plugins repositories #486
wa0x6e
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following #366
The current plugin files are not exported correctly. I made some tests, by trying to add all plugins files and types to the
exportproperty in package.json, and got it working only on whenmoduleResolutionis set toNode16in tsconfig, andtypeset tomodulein package.json in the package importing cal-heatmap.Multiple export from package.json is available only on recent config, and broken on package using
node, oresnext. To ensure the broadest support of setup, multiple export is not a solution.This left us with 2 solutions:
import { Tooltip } from 'cal-heatmap'=> will increase build sizeSolution 2 has been retained, and all plugins will have their own repositories in https://github.com/cal-heatmap/
Refactoring is in progress, and next release (4.3.0) will incorporate this breaking changes.
Beta Was this translation helpful? Give feedback.
All reactions