It will only use values found in import.meta.env.
import.meta.env
You could do something like this:
define: { ..., 'import.meta.env.REACT_APP_BACKEND_URL': 'the-url' }