Hash-Whiteboard icon indicating copy to clipboard operation
Hash-Whiteboard copied to clipboard

Canvas Misbehaving in Production Build

Open DhairyaBahl opened this issue 3 years ago • 4 comments

Description

Canvas is misbehaving in production build. Not sure but I believe the problem is because of babel's transcompilation.

How to achieve ?

Change the NODE_ENV and BABEL_ENV in scripts/build.js from development to production and then do react build. You will see how canvas is misbehaving.

DhairyaBahl avatar Jan 31 '22 16:01 DhairyaBahl

if this issue is free to work I would like work on this issue under Gssoc

ShivanshCharak avatar Mar 01 '22 12:03 ShivanshCharak

@ShivanshCharak Yes Ofcourse ! You can work on this issue ! Make sure to update PR status on daily basis over here ! Otherwise This will be assigned to someone else.

DhairyaBahl avatar Mar 02 '22 07:03 DhairyaBahl

@DhairyaBahl can u Explain a little bit how is it misbehaving for me the canvas is technically working fine after changing the node_env and babel_env to production. react build is a command?

ShivanshCharak avatar Mar 02 '22 10:03 ShivanshCharak

@ShivanshCharak I was unable to draw anything on the whiteboard. Do try that again ! If it's working, then add gif and other things in your PR after making the change and I'll merge it.

DhairyaBahl avatar Mar 02 '22 12:03 DhairyaBahl