You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this old sim 10727 & the V6 release notes I should expect much smaller compressed javascript as of V6. I'm seeing 400+Kb compressed with a single configure for amplify analytics & auth with amplify 6.3.1 using webpack with the standard config from create-react-app.
Expected behavior
Based on the V6 press release I was expecting something like 40-50K compressed.
Answering my own question: This was unrelated to amplify. My typescript configuration was munging the imports resulting in webpack not being able to optimize.
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
Authentication, Analytics
Amplify Version
v6
Amplify Categories
analytics
Backend
None
Environment information
Describe the bug
According to this old sim 10727 & the V6 release notes I should expect much smaller compressed javascript as of V6. I'm seeing 400+Kb compressed with a single configure for amplify analytics & auth with amplify 6.3.1 using webpack with the standard config from create-react-app.
Expected behavior
Based on the V6 press release I was expecting something like 40-50K compressed.
Reproduction steps
Build the code/config below and get
Code Snippet
with the following dependencies
The following webpack configuration
and the following index.ts
Log output
I see the following:
aws-exports.js
I'm not using aws-exports.js
Manual configuration
see code above.
Additional configuration
See code above.
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: