fix: NODE_ENV conflicts on pipelines

This commit is contained in:
Mrugesh Mohapatra
2019-08-19 01:19:40 +05:30
committed by mrugesh
parent d864326d97
commit ac50216949
10 changed files with 20 additions and 15 deletions

View File

@ -149,7 +149,9 @@ exports.onCreateWebpackConfig = ({ stage, plugins, actions }) => {
),
STRIPE_PUBLIC_KEY: JSON.stringify(process.env.STRIPE_PUBLIC_KEY || ''),
ROLLBAR_CLIENT_ID: JSON.stringify(process.env.ROLLBAR_CLIENT_ID || ''),
ENVIRONMENT: JSON.stringify(process.env.NODE_ENV || 'development'),
ENVIRONMENT: JSON.stringify(
process.env.FREECODECAMP_NODE_ENV || 'development'
),
PAYPAL_SUPPORTERS: JSON.stringify(process.env.PAYPAL_SUPPORTERS || 404)
})
]