Don't check react-stdio presence at compile time
jsteiner opened this issue · 2 comments
jsteiner commented
Would it be possible to check for react-stdio
at runtime instead of compile time? I'm deploying to Heroku, which provides:
- A step for installing and compiling Elixir and it's dependencies
- A step for installing yarn/npm dependencies.
The way this library currently works requires you to:
- Install Elixir & dependencies (to have the
react-phoenix.js
file available for yarn) - Install yarn dependencies (to have
react-stdio
available for compilation) - Compile Elixir.
This is an issue, as the buildpacks for Heroku don't provide an easy way to split up the Elixir install/compile steps.
An added benefit is that then we wouldn't require react-stdio
to be installed if you aren't using the ServerSide
functionality.