New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not specific to create react app #2

Closed
InsidersByte opened this Issue Aug 15, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@InsidersByte
Copy link

InsidersByte commented Aug 15, 2016

Thanks for the awesome buildpack!

I know this is stated as the create react app buildpack, but it is useful for other react apps.

I am currently using it on my own react app and the requirements are that it needs to be static and that it has build command which runs webpack (or browserify I guess).

@mars

This comment has been minimized.

Copy link
Owner

mars commented Aug 15, 2016

Great to hear that it's working for your non-create-react-app app.

It's true today, all this buildpack relies on is:

  • npm run build performs the transpile/bundling
  • the file build/index.html exists at runtime

It's possible these specs will change as create-react-app evolves, but its utility as a general purpose SPA deployer is a welcome perspective 🤔

Thanks for the kind issue 🌟😄

@InsidersByte

This comment has been minimized.

Copy link

InsidersByte commented Aug 16, 2016

I was thinking the same about a general purpose SPA deployer! If more functionality is added to create-react-app then functionality could be added to it.

The index.html just has to exist at the root set in static.json.

@mars mars closed this in 4c7b922 Aug 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment