-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Description
Describe the bug
While migrating a webpack app to Vite, I'm getting this output:
VITE v4.3.8 ready in 1032 ms
➜ Local: http://127.0.0.1:3001/
➜ Network: use --host to expose
➜ press h to show help
[BABEL] Note: The code generator has deoptimised the styling of C:\Users\kgetz\Work\event-viewer\lib\geiger-studios\dist\index.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of C:\Users\kgetz\Work\event-viewer\packages\cv-components\dist\index.js as it exceeds the max of 500KB.
I tried searching for other GH issues and they all seem to reference plugin-legacy, which I'm not using. What am I supposed to do here to fix this? The output doesn't offer any suggestions or a path forward.
Reproduction
N/A
Steps to reproduce
No response
System Info
System:
OS: Windows 10 10.0.22621
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
Memory: 5.35 GB / 15.71 GB
Binaries:
Node: 16.19.1 - C:\Program Files\Node.js\node.EXE
npm: 9.6.2 - C:\Program Files\Node.js\npm.CMD
Browsers:
Edge: Spartan (44.22621.1702.0), Chromium (113.0.1774.50)
Internet Explorer: 11.0.22621.1
npmPackages:
@vitejs/plugin-react: 4.0.0 => 4.0.0
vite: 4.3.8 => 4.3.8Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.