-
Notifications
You must be signed in to change notification settings - Fork 42
use preact instead of react in production build #12
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
base: dev
Are you sure you want to change the base?
Conversation
|
And also added webpack-bundle-analyzer so we can see what is included in production bundles You can run it using If you want to why some library is included in some bundle for eg: Why |
|
For some reason I am getting an error saying that r is not a function on app.js line 7 when I try to run this in production mode on a server. Any idea what I could be doing wrong? |
|
@JesseRWeigel To which branch did you merge this? I just pulled |
|
And also Changed base branch to |
|
@vinaypuppal Thanks for checking into this. I will try it again when I get a chance. |
|
I have been pull from this project onto another one. I am supposed to come back to this project to make updates in October. I will try to merge this then. Thanks @vinaypuppal ! |
|
oh okay, no problem. Thanks for update. |

This reduces bundled app.js size from
271KBto143KBBefore:

After:
