---
title: "Comment by Vincent Re on \"Step-by-Step Guide to Configuring a Vite + React + TypeScript Component Library\" | Hashnode"
description: "Thanks so much Igna for providing such a headstart for building a component library! I'm so far only encountering an issue with the build:lib script generating"
url: "https://hashnode.com/posts/step-by-step-guide-to-configuring-a-vite-react-typescript-component-library/64fdf2b4444cc7b9264ecc02/comment/66c46015e1209bef4a02aa21"
---

[Discussion](https://hashnode.com/posts/step-by-step-guide-to-configuring-a-vite-react-typescript-component-library/64fdf2b4444cc7b9264ecc02)

Comment [Step-by-Step Guide to Configuring a Vite + React + TypeScript Component Library](https://hashnode.com/posts/step-by-step-guide-to-configuring-a-vite-react-typescript-component-library/64fdf2b4444cc7b9264ecc02)

[Vincent Re](https://hashnode.com/@vcntrnd)

[Aug 20, 2024](https://hashnode.com/posts/step-by-step-guide-to-configuring-a-vite-react-typescript-component-library/64fdf2b4444cc7b9264ecc02/comment/66c46015e1209bef4a02aa21)

Thanks so much Igna for providing such a headstart for building a component library! I'm so far only encountering an issue with the build:lib script generating only .d.ts files. And therefore i'm not able to use the library components in a different project as is suggested. I'm trying to figure it out tweaking the vite.config.js. Will be happy to contribute suggestions to improve de user guides once i get the full hang of it. Thanks again!

[Ignacio Miranda Figueroa](https://hashnode.com/@Igna)

[Aug 24, 2024](https://hashnode.com/posts/step-by-step-guide-to-configuring-a-vite-react-typescript-component-library/64fdf2b4444cc7b9264ecc02/comment/66c46015e1209bef4a02aa21#reply-66c9570f96f9d006e2db5c58)

Hey Vincent! Thanks so much! and I'm sorry you're running into this issue. Aren't you getting the JS files generated in your build? that's basically where all the components get added and then everything can be imported from there in any project
