Encountering an error during the build process after migration, I'm unsure if it's related to the recognition of tsx files or something within them that is causing issues:
Failed to compile. Error in ./src/index_app.tsx Module parse failed: /src/index_app.tsx Unexpected token (17:26) You may need an appropriate loader to handle this file type. SyntaxError: Unexpected token (17:26) @ multi main
Here is the content of index_app.tsx:
17:const rootReducer = (state:any, action:any) => {
18: if (action.type === Actions.RESET_GLOBAL_STATE) {
19: state = undefined;
20: }
21: return reducers(state, action)
22:}
My webpack configuration post-migration: