Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Vite support #371

Open
hyochan opened this issue Jul 20, 2022 · 2 comments
Open

Vite support #371

hyochan opened this issue Jul 20, 2022 · 2 comments

Comments

@hyochan
Copy link

hyochan commented Jul 20, 2022

🚀 Feature Proposal

I have tried to use fbt in vite with React. However, it doesn't seem reliable.
I think it'd be great to have a sample for vite as well as webpack.

Motivation

These days, people are interested in working on React app with vite.
https://www.section.io/engineering-education/creating-a-react-app-using-vite

Example

I have tried to migrate webpack to vite in current PR. I also stated what is not currently working in the description.

Pitch

We need a solution for vite!

@knightcube
Copy link

Has this issue been resolved yet?

@alexandernanberg
Copy link

alexandernanberg commented Sep 17, 2024

Ported the Webpack demo to Vite and TypeScript here https://github.com/alexandernanberg/fbt-vite-demo

There are some issues with the types that we can fix and fbt-manifest doesn't work with ts out-of-the-box (there is a pnpm patch that fixes the issue in the repo)

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants