-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsed and Gzipped sizes are zero #34
Comments
It's work well in my local. If the parsed or gzip size is zero. I think you can try to provide a debug info. $ vite build --debug
# Or use the following method
# darwin / linux
$ export ANALYZE_DEBUG=true && vite build
# window
$ set ANALYZE_DEBUG=true && vite build
# Or using cross-env
Then you'll see all of debug info and paste in here. |
AFAIk, If you're using vite's legacy plugin. The legacy chunk isn't provide any sourcemap So that those module isn't be scan. |
I'm using {"version":3,"file":"x-legacy-5cb72e43.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@faga295 Any other informations? Such as using based on the vite framework or your config workspaces plugins. AFAIK only |
I tried updating my Vite version and found that this plugin works only with versions 4.0.0 and above. |
@faga295 Butt i think the minimum requirement is to support vite@3. So what's your past vite version? |
3.1.0 |
I know, but i'm not sure it can resolve this problem. relative release |
@faga295 I release |
It works |
But now i'd like to close this issue, if there are any problems re open it again. |
I'm included this plugin in my vite project with minimal configuration and try to make static output. When i open static stats.html, i see correst Stat sizes, but on tabs Parsed and Gzipped i see 0 bytes for all chunk. Is it bug or i do something wrong?
The text was updated successfully, but these errors were encountered: