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
I am lazy loading components in my React app, and it was working all fine. However, after the react-scripts 3.0.0 update, I keep getting the 'Module Parse failed: Unexpected token' error as follows:
./src/routes/App.js 22:9
Module parse failed: Unexpected token (22:9)
You may need an appropriate loader to handle this file type.
| import { Loader } from '../components/Preloaders/Loader';
| var ClippedDrawer = lazy(function () {
> return import('../components/Drawer');
| });
| var Settings = lazy(function () {
npm version latest
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
I am lazy loading components in my React app, and it was working all fine. However, after the react-scripts 3.0.0 update, I keep getting the 'Module Parse failed: Unexpected token' error as follows:
npm version latest
The text was updated successfully, but these errors were encountered: