Issue with newer version of solstice-assets
We might have following issues with newer version of solstice-assets:
- "loose mode" for babel related dependencies - can be fixed by adding dependencies mentioned in error message in craco.config.js > babel > plugins
plugins: [ '@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-private-methods', '@babel/plugin-proposal-private-property-in-object', '@babel/proposal-object-rest-spread', ],
- Chart data type error - can be fixed by updating react-chartjs to latest version with some minor code change based on new version.
Did not meet these errors when I changed the version based on a working dev branch. Will look into this after prod is stable.