Request to Update Tamagui Dependency
RobSchilderr opened this issue · comments
Hi Dohomi,
We are using this package in production and have noticed that the package specifies Tamagui version 1.89.3 as a peer dependency. Tamagui now is on version 1.91.3, and I'm experiencing compatibility issues due to the version discrepancy. Not sure if it's related to the themes v3 update.
For example, using the latest Takeout, one would get the following errors building the web:
: Module parse failed: Unexpected token (23:13)
--
16:51:44.435 | next-app:build: You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
I think it could be related due to version mismatches so an update might solve the issue. I made a PR here.
Fixed by adding the packages as transpilePackages to next.config:
transpilePackages: [
'@tamagui-extras/rich-text',
'@tamagui-extras/form',
'@tamagui-extras/core',
],