Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
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.
Could someone suggest anything to resolve this build error?