chartjs/chartjs-plugin-datalabels

vite not insert page ref in manifest.json if I include chartjs-plugin-datalabels

aalonzi opened this issue · 1 comments

I use chartJS with chartjs-plugin-datalabels on a laravel inertiajs app. When I am in DEV mode there are no errors and everything works normally, after carrying out the BUILD there is a page that produces a 500 error on page reload(cmd+R) but it works normally if I open the page from the link in the menu; this happens because the entry relating to the vue file of the page is missing in the manifest.json file. After some tests I realized that removing the import for the chartjs-plugin-datalabels plugin and the references in the graphs present on the page, the manifest.json file also correctly contains the reference to the vue page in question and everything starts to work correctly. Some idea?

I have exactly the same problem...