Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas Misbehaving in Production Build #2

Open
DhairyaBahl opened this issue Jan 31, 2022 · 4 comments
Open

Canvas Misbehaving in Production Build #2

DhairyaBahl opened this issue Jan 31, 2022 · 4 comments
Assignees
Labels
🐞bug Something isn't working GSSoC22 This tag represents the issue or PR under the scope of Girls-script Summer of Codes' 22 help wanted Extra attention is needed Level3 Hard

Comments

@DhairyaBahl
Copy link
Member

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.

@ShivanshCharak
Copy link

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

@DhairyaBahl
Copy link
Member Author

@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 DhairyaBahl added 🐞bug Something isn't working GSSoC22 This tag represents the issue or PR under the scope of Girls-script Summer of Codes' 22 help wanted Extra attention is needed Level3 Hard labels Mar 2, 2022
@ShivanshCharak
Copy link

ShivanshCharak commented Mar 2, 2022

@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?

@DhairyaBahl
Copy link
Member Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞bug Something isn't working GSSoC22 This tag represents the issue or PR under the scope of Girls-script Summer of Codes' 22 help wanted Extra attention is needed Level3 Hard
Projects
None yet
Development

No branches or pull requests

2 participants