Errors when upgrading to 2.0.0

Unsolved Technical Support
  • WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
    This can impact web performance.
    Assets:
      03371bf1d5cbb1eab58e3a0130d1e9c2.js (491 KiB)
      nodebb.min.js (1.1 MiB)
      admin.min.js (1.15 MiB)
      8522.29b4b3a5215e23298727.min.js (471 KiB)
      4793.874eeda7b33b3d945f82.min.js (455 KiB)
    
    WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
    Entrypoints:
      nodebb (1.1 MiB)
          nodebb.min.js
      admin (1.15 MiB)
          admin.min.js
    
    webpack 5.72.0 compiled with 2 warnings in 25144 ms
    2022-05-11T15:25:32.882Z [4567/31322] - info: [build] Asset compilation successful. Completed in 31.286sec.
    

    Are these warnings meant to interest me or can they be ignored?

  • @א-ש I get the same messages. They don't seem impact anything in my DEV environment though.

  • I have the same message too on 2.2.4 fresh install

    WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
    This can impact web performance.
    Assets: 
      542e43220c9098c8a7c5bcb91772c1bd.js (491 KiB)
      nodebb.min.js (1.18 MiB)
      admin.min.js (1.33 MiB)
      8522.21a998fee83b6da79014.min.js (472 KiB)
      admin/plugins-awards.1701a0a598a3fa610c52.min.js (283 KiB)
      4793.c7798e0f8cab803b4b43.min.js (455 KiB)
    
    WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
    Entrypoints:
      nodebb (1.18 MiB)
          nodebb.min.js
      admin (1.33 MiB)
          admin.min.js
    
    webpack 5.73.0 compiled with 2 warnings in 77814 ms
    2022-07-14T13:01:35.773Z [4567/828] - info: [build] Asset compilation successful. Completed in 89.728sec.
    
  • @DownPW they are just warnings telling you that the output file is larger than recommended.

    It's something we'll address in time, but as @phenomlab says, it does not affect the running of the instance in any way 🙂

    The solution is, of course, to write less code. That's a hard problem 😐

  • Thanks @julian for the information 😉


Suggested Topics


  • 0 Votes
    2 Posts
    155 Views
  • 1 Votes
    11 Posts
    521 Views
  • 0 Votes
    3 Posts
    2516 Views
  • 0 Votes
    4 Posts
    1245 Views