vite-asset-collector
vite-asset-collector copied to clipboard
Bundle your TYPO3 frontend assets with Vite
There has been a report that JS loaded by vite in the TYPO3 backend doesn't have access to the global `TYPO3` variable. This might be related to the loading order...
First working draft - usage of unsafeInline should be avoided however
See: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86035 Maybe there is also a workaround for older TYPO3 versions?
Add example(s) to documentation that show recommended project structure for vite+TYPO3