Since the quotes are no longer present it is causing errors in the browser.
Error Text:
[plugin:vite:esbuild] Transform failed with 1 error: "ERROR: Expected "}" but found ".""
Questions:
I upgraded from the 4.5.1 version. Is there some other packages/etc I should update as part of my editor upgrade process?
Did I miss some setting or option I need to in the editor set?
Possible solution
Manually adding quotes to all the shadow.xyz fixed the build errors, but those changes will be overwritten the next time I modify the Prefab/Scene in editor.
Version
Description
I recently upgrade to Phaser 4.6.0 on Mac and it looks like the codegen for text has a bug in it.
VSN 4.5.1: lblText.setStyle({ ..., "shadow.offsetX": -1, "shadow.offsetY": -1, "shadow.stroke": true, "shadow.fill": true });
VSN 4.6.0: lblText.setStyle({ ..., shadow.offsetX: -1, shadow.offsetY: -1, shadow.stroke: true, shadow.fill: true });
Since the quotes are no longer present it is causing errors in the browser.
Error Text: [plugin:vite:esbuild] Transform failed with 1 error: "ERROR: Expected "}" but found ".""
Questions:
I upgraded from the 4.5.1 version. Is there some other packages/etc I should update as part of my editor upgrade process?
Did I miss some setting or option I need to in the editor set?
Possible solution
Manually adding quotes to all the shadow.xyz fixed the build errors, but those changes will be overwritten the next time I modify the Prefab/Scene in editor.