You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2026. It is now read-only.
I had this issue with a larger code base where App isn't defined after being built. I've replicated the error in a new minimized code. I'm assuming it has something to do with the definition of App.
My current code is as follows
function App() {
return <div>simple app</div>;
}
export default App;
and it gives me the following build error
Unexpected token (1:205)
| function App(){return/*#__PURE__*/__WEBPACK_MODULE_REFERENCE__3_5b226a7378225d_call_directImport_asiSafe1__._("div",{children:"simple app"});}/* harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (;try{App.displayName="App";}catch(e){}App);
if it helps my code is a simple create-react-app after ejection with webpack-react-compoonent-name added to the webpack nothing else was changed