magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.07k stars 683 forks source link

[issues]: Warning when complie and run in local about `maximumFileSizeToCacheInBytes` #3744

Closed MinhOmega closed 2 years ago

MinhOmega commented 2 years ago

Describe the bug

A clear and concise description of what the bug is.

To reproduce

Steps to reproduce the behavior:

  1. Run yarn venia run watch
  2. Issues warning showing in console but site still loading withou problem

Expected behavior

Compiled successfull withou warning.

Screenshots

image

Possible solutions

Add any ideas about possible solutions to the problem here.

Debug Report

WARNING in /client.js is 10.6 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.

WARNING in /vendor~client.2abc975751104bc8bf12.js is 4.65 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.

Please complete the following device information:

Please let us know what packages this bug is in regards to:

m2-assistant[bot] commented 2 years ago

Hi @MinhOmega. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


anthoula commented 2 years ago

@magento export issue to JIRA project PWA as Bug

github-jira-sync-bot commented 2 years ago

:white_check_mark: Jira issue https://jira.corp.magento.com/browse/PWA-2705 is successfully created for this GitHub issue.

anthoula commented 2 years ago

Thank you for the feedback. We would need some additional information. If it is happening in production as well, please reopen. For additional support, please see our Slack channel: https://magentocommeng.slack.com/messages/C71HNKYS2