Open a-tonchev opened 7 months ago
Worked fine under vite4 but upgrade to vite5 is causing the crash due to the invisible Unicode character
link PR by iveretelnyk https://github.com/JiHong88/suneditor/pull/1339
PR has been merged this can be closed
The reason why vite build fails is that the minifier of suneditor is adding special characters that confuses vite:
This is
suneditor/src/lib/core.js
After replacing the NBSP character with real space or putting space in front, the build works fine.