@shopify/polaris upgrade to v-10
I have upgraded @shopify/polaris to latest version (10.40.0) and run few migration scripts. my code is being compiled locally But while making build from production it gives following error Attempted import error: 'motion' is not exported from '@shopify/polaris-tokens' (imported as 'motion').
This is internal error from Shopify/Polaris as I'm not using shopify/polaris-tokens locally.
After upgradation I ran following migration script to migrate TestStyle to Text component of polaris, npx @shopify/polaris-migrator v10-react-replace-text-components
https://polaris.shopify.com/tools/polaris-migrator
I then upgraded other polaris packages also but still getting same error,
Attached are all Shopify packages that I'm using in my app.
Would be thankful if someone could help me on this