CONFIGURE

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Configure React_Env://scripts/clientMesstone-env.js requiee('dotenv').config( ) const fs=require('fs')const clientEnv=require('react-scripts/config/env.js')(process.env.PUBLIC_URL ||' ') const pathToWrite='./public'const fileToWrite=`${pathToWrite}/clientMesstone-env.js`const globalVarNameMesstone='_env_'const content=`window.${globalVarNameMesstone}=${JSON.stringify(clientEnv.raw)}`try{fs.writeFileSync(fileToWrite,content, 'utf8')}catch(err){//eslint-disable-next-line no-console console.log('Error while writing clientMesstone-env file:',err.message)process.exist(1)}