Closed F3der1co closed 3 months ago
To reproduce: export a project that has colyseus added with minification. Error message: working/810799356/scripts/c3runtime.js:8929:47: ERROR - [JSC_REASSIGNED_CONSTANT] Constant reassigned: i 8929| for (const i = 0; i < segments.length; i++) {
working/810799356/scripts/c3runtime.js:8929:47: ERROR - [JSC_REASSIGNED_CONSTANT] Constant reassigned: i 8929| for (const i = 0; i < segments.length; i++) {
This seems to be line 16 in conditions.js:
I assume changing the const to let should fix it.
Hi @F3der1co, thank you for the feedback - can you please try version 0.15.0.14 that I just released? 🙏
0.15.0.14
Minification works now, thanks a lot for the quick fix!
To reproduce: export a project that has colyseus added with minification. Error message:
working/810799356/scripts/c3runtime.js:8929:47: ERROR - [JSC_REASSIGNED_CONSTANT] Constant reassigned: i 8929| for (const i = 0; i < segments.length; i++) {
This seems to be line 16 in conditions.js:
I assume changing the const to let should fix it.