Spaces:
Sleeping
Sleeping
pythonic-rag-FastAPIReact
/
frontend
/node_modules
/@emotion
/babel-plugin
/src
/utils
/create-node-env-conditional.js
| export default function createNodeEnvConditional(t, production, development) { | |
| return t.conditionalExpression( | |
| t.binaryExpression( | |
| '===', | |
| t.memberExpression( | |
| t.memberExpression(t.identifier('process'), t.identifier('env')), | |
| t.identifier('NODE_ENV') | |
| ), | |
| t.stringLiteral('production') | |
| ), | |
| production, | |
| development | |
| ) | |
| } | |