-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Missing assets from loadable-stats.json #770
Comments
Hey @Noah-Vivial 👋, |
👍 , I am not sure what are cached assets, but if you found a way to fix this problem - let's fix it. |
I'm having the same issue. However, removing My use case, for example, works just fine with the currently set options when I replace moduleAssets: false,
dependentModules: false,
children: false,
chunkModules: false,
entrypoints: false,
orphanModules: false,
modules: false,
providedExports: false,
relatedAssets: false, I could also provide a pull request if I get a "go" from a maintainer. |
Let's add a few safeguards and expectations for this. |
Update to my above suggestionI misunderstood @Noah-Vivial: he does not want to remove
So #778 |
🐛 Bug Report
We are receiving the following error when generating HTML via our server-side-rendering process.
Here's the error:
It appears that the cause is related to the way the assets within the
loadable-stats.json
block is generated.Here's the loadable-stats.json using 5.15
In
5.14.2
the assets block in contained information regarding each chunk such as:It looks like this change is the root cause:
9ad6bf5
It appears that the
all: false
is preventing the cached assets from being added. IfcachedAssets: true
is added to the JSON then the cached assets are added as expected.The text was updated successfully, but these errors were encountered: