We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Output code is generating references for unused files.
Steps to reproduce the behavior:
rm -rf ./out && rm -rf ./.next && npm run build:static
Output code should only contain references for actually used files. The build script should only spend CPU time compressing actually used files.
System: OS: macOS 11.6 CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz Memory: 586.35 MB / 32.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.16.1 - ~/.nvm/versions/node/v14.16.1/bin/node Yarn: 1.22.10 - ~/.nvm/versions/node/v14.16.1/bin/yarn npm: 7.9.0 - ~/.nvm/versions/node/v14.16.1/bin/npm Browsers: Chrome: 95.0.4638.54 Edge: 95.0.1020.40 Firefox: 93.0 Safari: 15.0 npmPackages: react: ^17.0.2 => 17.0.2
A similar issue was posted here: cyrilwanner/next-optimized-images#228
The text was updated successfully, but these errors were encountered:
Will keep an eye on this. We're exploring new options for image optimization. Will close this once @grez96's solution is in place.
Sorry, something went wrong.
iranreyes
DonghyukJacobJang
No branches or pull requests
Describe the bug
Output code is generating references for unused files.
To Reproduce
Steps to reproduce the behavior:
rm -rf ./out && rm -rf ./.next && npm run build:static
Screenshots
Expected behaviour
Output code should only contain references for actually used files.
The build script should only spend CPU time compressing actually used files.
Environment
Additional context
A similar issue was posted here: cyrilwanner/next-optimized-images#228
The text was updated successfully, but these errors were encountered: