Quantumbraid/trainingdata / ui /node_modules /@emotion /babel-plugin /src /utils /create-node-env-conditional.js
Quantumbraid's picture
download
raw
373 Bytes
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
)
}

Xet Storage Details

Size:
373 Bytes
·
Xet hash:
3c980d30ec8a43c3013ff3437796b2a2b0e0822fec9fc90edf83ed4348c8086b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.