-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
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
tikoflano
Metadata
Metadata
Assignees
Labels
No labels