I am trying to deploy my app on Github to Heroku but getting error:
ERROR in ./src/Index.tsx Module not found: Error: Can\'t resolve \'./ConfigureStore\
I got it working.. Seems on Heroku Directory Import is not working.
Hence, when I qualified my import with 'Index.ts' or 'Index.tsx' the bundle got created perfect and app started to work as below:
From
import * as Store from './ConfigureStore'
To
import * as Store from './ConfigureStore/Index';
Might be helpful to someone in future.