We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In our environment.js settings, we want to define build-environment-dependent settings for corber, like so:
environment.js
if (environment === 'development' && process.env.CORBER ) { ... }
But corber start fails because the value of environment is for some reason undefined at this point and thus none of the conditionals match.
corber start
environment
A workaround is to first define the minimum settings to pass validation:
if (process.env.CORBER) { ENV.locationType = 'hash'; ENV.rootURL = ''; };
Simple enough, but it strikes me that this might be a bug?
(FWIW, I don't believe that corber build has this issue.)
corber build
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In our
environment.js
settings, we want to define build-environment-dependent settings for corber, like so:But
corber start
fails because the value ofenvironment
is for some reason undefined at this point and thus none of the conditionals match.A workaround is to first define the minimum settings to pass validation:
Simple enough, but it strikes me that this might be a bug?
(FWIW, I don't believe that
corber build
has this issue.)The text was updated successfully, but these errors were encountered: