I created a website on react. I works great on localhost/3000 and no errors at all. But when I created the build by npm run build
- Its all js files are full of error
i)
Tokenization is skipped for long lines for performance reasons. This can be configured via editor.maxTokenizationLineLength.(I extended the length from settings still getting the message.) ii) Expected an assignment or function call and instead saw an impression (101+ times this error) - Still I deployed it on dreamhost server and It's deployed but when you reload the page 404 error.
- If I open the website on mobile some pages stuck and don't scroll. And then you get the error 404 page not found.
Why the build is behaving like this when there's no error in my react app. Then build should also be error free.