Can you eject?

In the off chance that i wanted to eject from wasp and continue standalone development would taking the code out of .wasp be viable ?
2 Replies
kapa.ai
kapa.ai3mo ago
Hi @isidor. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Yes, you can eject from Wasp. When you run the wasp build command, it generates a complete web app code which includes a React + Vite client and a NodeJS server. This generated code is stored in the .wasp/build folder. You can take this code and continue standalone development outside of Wasp if you wish to do so. Here is the command you would use to generate the complete web app code:
wasp build
wasp build
After running this command, you can find the generated code in the .wasp/build folder of your project directory. Please note that this is a one-way operation. Once you eject, you can’t go back! For more information, you can refer to the Wasp CLI Reference (https://wasp-lang.dev/docs/general/cli#project-commands) in the official Wasp documentation. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @isidor, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
Filip
Filip3mo ago
This is correct - yes. We support ejecting, but it's not our design priority which means "you can always eject, but parts of your app might seem too abstarct/general for you project" This is necessary because its Wasp's goal to support as many projects as possible, so the under-the-hood-machinery is very general. Still, after ejection, you can change anything you want 🙂
Want results from more Discord servers?
Add your server