DEV Community

Discussion on: Embedding a React Application in Go Binary

Collapse
davidkroell profile image
David Kröll

Is this then included inside the built Go binary? You mentioned above it would be referenced. But why then use this? What happens when it gets deleted (the build directory)?

Collapse
fareez profile image
Fareez Ahamed Author

It will be built into the binary. So you will have only one file binary file which contains executable code, as well as static assets.