Suggestions required for a custom wrapper library #6228
-
We've got a design system to build having around 30 components. Initially, I wanted to start from scratch using headless UI libs but because of a tight deadline, we're thinking about wrapping Mantine components and export the same. Forwarding refs and the whole typescript thing is kinda complicated since we do not have experienced typescript devs. However, the docs are great and have started. My main concern is the bundling now, is this really required? I did play with some rollup options, got typescript errors and build got failed. Is there any tool which can bundle the lib out of the box? Thanks!!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can find example rollup config here – https://github.com/mantinedev/extension-template/blob/master/rollup.config.mjs |
Beta Was this translation helpful? Give feedback.
You can find example rollup config here – https://github.com/mantinedev/extension-template/blob/master/rollup.config.mjs