Enables publishableKey to be injected in runtime config,
Context:
Currently, this module is set up to fail on build stage if the publishableKey option is empty.
We are developing and distributing our application via docker image, building our image once and run it in many environments with many configs.
So, we can't have a stripe publishableKey be present when building image.
We want the key to be injected in to the container at runtime and all of our open source modules are already using runtmie configuration which is perfect.
We're using this modification to run currently and I think this might help other developers looking for runtime configuration option for nuxt-stripe-module.
Enables publishableKey to be injected in runtime config,
Context: Currently, this module is set up to fail on build stage if the publishableKey option is empty. We are developing and distributing our application via docker image, building our image once and run it in many environments with many configs. So, we can't have a stripe publishableKey be present when building image. We want the key to be injected in to the container at runtime and all of our open source modules are already using runtmie configuration which is perfect. We're using this modification to run currently and I think this might help other developers looking for runtime configuration option for nuxt-stripe-module.