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

How to build Gatsby without minifying ? #3778

Closed
sidzan opened this issue Jan 30, 2018 · 4 comments
Closed

How to build Gatsby without minifying ? #3778

sidzan opened this issue Jan 30, 2018 · 4 comments

Comments

@sidzan
Copy link

sidzan commented Jan 30, 2018

I ran into some classic issue of HTML minification i.e Uncaught Error: Minified React error #32; and seems to be with Gatasby not related with any CDN ( how - > cause i tried to build it in my local and serve and i get the same issue ).

I am currently seeking any way to deploy it without minifying (with out production env), is there any way to do this ? Any suggestion is much appreciated .

here you can see the issue https://ariamerican-53d2e.firebaseapp.com/

EDIT:
I only have issue with carousel , tried 3 different carousel including the popular react-slick , has anoyone ran into this issue and found a fix ?

@calcsam
Copy link
Contributor

calcsam commented Feb 4, 2018

No, this is not possible currently.

@calcsam calcsam closed this as completed Feb 4, 2018
@rilexus
Copy link

rilexus commented Mar 15, 2019

I have one related issue!
After building the project, my animation are not triggered. Any other styles are applied correctly. In development everything is fine.
I use "emotion" styled component and the "react-transition-group"(CSSTransition) for the animation.
How ever! When i un-minify the relalated html file after build, all animation are triggered correctly.

@dennisapdm88
Copy link

No, this is not possible currently.

is this available now? unminify js files when gatsby build.>??

@ozyman42
Copy link

ozyman42 commented Sep 16, 2021

If you can't turn off minification this can lead to near impossible to resolve issues https://stackoverflow.com/questions/68050244/unexpected-escaping-special-characters-with-may-help-angular-12-build-d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants