I run a lighthouse performance test for my website in build mode, and one of the suggestions that lighthouse is giving me to improve the performance of my website is:" Reduce unused JavaScript". My project is with Vite: React + TypeScript and the file that lighthouse report flagged as unused javascript is a file with lots of javascript inside it, also inside this file is this comment
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
also, this file name starts with index and some random values that I think Vite gives this file on build process: index-oiHKpnRd.js
I think that this file is needed but lighthouse flagged this file as unused, but if I remove this file the website won't work.
What might this file be?
Also is there any way to avoid this file affecting my website performance?
