Skip to content
This repository was 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
Contributor

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)

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

No branches or pull requests

3 participants