package.json: add run script for stage env
A developer can now run `npm run stage` which will run the UI against the staging environment on crc.
This commit is contained in:
parent
350acbd21b
commit
dc98e58ba5
3 changed files with 11 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const webpackProxy = {
|
|||
useProxy: true,
|
||||
proxyVerbose: true,
|
||||
debug: true,
|
||||
env: `prod-${process.env.BETA ? 'beta' : 'stable'}`,
|
||||
env: `${process.env.STAGE ? 'stage' : 'prod'}-${process.env.BETA ? 'beta' : 'stable'}`,
|
||||
appUrl: process.env.BETA ? '/beta/insights/image-builder' : '/insights/image-builder',
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue