Loading...
 
Skip to main content

Issues with chunkSizeWarningLimit value that is unset at vite.config.mjs and is set by default to 500 (on my osx setup)

Status
Closed
Subject
Issues with chunkSizeWarningLimit value that is unset at vite.config.mjs and is set by default to 500 (on my osx setup)
Version
29.x
Category
  • Bug
  • Easy for Newbie Dev
Resolution status
Fix on the Way
Submitted by
Bernard Sfez / Tiki Specialist
Volunteered to solve
Moïse Nturubika
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

When I compile a Tiki27 or 28 or 29 from git I have a warning about the "chunkSizeWarningLimit" that is limited to 500.

To fix it I edited src/js/vite.config.mjs and added;

line 159, after: target:
Copy to clipboard
manualChunks(id) { if (id.includes("node_modules")) { if (id.includes("jspdf") || id.includes("html2canvas")) { return "vendor-pdf"; } if (id.includes("element-plus")) { return "vendor-element-plus"; } return "vendor"; } },



May be this could be of some help ?

Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8880
Reviewed by Wishlist Team On
06 Jan 26 22:00 UTC
Created
Tuesday 23 December, 2025 10:52:09 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 25 February, 2026 16:54:19 UTC


Show PHP error messages