yarn build
yarn run v1.22.22
$ cross-env REACT_APP_BACKEND=true NODE_ENV=production PUBLIC_URL='./' react-app-rewired --openssl-legacy-provider build
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
[BABEL] Note: The code generator has deoptimised the styling of /var/www/matrix/src/images/profile/profilePhoto.svg as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of undefined as it exceeds the max of 500KB.
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
Failed to compile.
Attempted import error: 'createFactory' is not exported from 'react' (imported as 'createFactory').
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.