Open astrodomas opened 1 year ago
Any news on this? @AgentEnder
Still persistent as of nx v17.2.0
. By changing imports got a huge bundlesize improvement
Still persistent as of
nx v17.2.0
. By changing imports got a huge bundlesize improvement
@astrodomas Not related to the issue itself, but I was not able to send you a private message. How were you able to set this % of Budget that you're showing in the first screenshot?
Still persistent as of
nx v17.2.0
. By changing imports got a huge bundlesize improvement@astrodomas Not related to the issue itself, but I was not able to send you a private message. How were you able to set this % of Budget that you're showing in the first screenshot?
This is a PR comment generated by the bot
By using https://github.com/hashicorp/nextjs-bundle-analysis , specifically the setup for app router described here: https://github.com/hashicorp/nextjs-bundle-analysis/issues/83 . But basically it takes nextjs app router build, inside the master branch it uploads an artifact to github and then compares the PR's bundlesize to the masters bundlesize and makes a PR comment on the bundlesize.
Current Behavior
Currently I have 2 client components exported from my
@mylib/next
but if I import 1 client component viaindex
to my app then my bundlesize increases if it is a direct import - then it decreases.Can this be due to
SWC
?Root index:
Components index:
Component index:
Before direct import:
Expected Behavior (after direct import)
The bundlesize should be reduced:
GitHub Repo
No response
Steps to Reproduce
@nx/next
application@nx/next
libraryindex.ts
Nx Report
Failure Logs
No response
Operating System
Additional Information
No response