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
When I try to make use of enrichTweet or any function exported from the react-tweet package, I get the following error:
1:08:50 PM [vite] Internal server error: Unknown file extension ".css"for /Users/gonzalostoll/Dev/projects/tweet-archive/node_modules/react-tweet/dist/twitter-theme/theme.css
at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:176:9)
at defaultGetFormat (node:internal/modules/esm/get_format:219:36)
at defaultLoad (node:internal/modules/esm/load:133:22)
at async ModuleLoader.load (node:internal/modules/esm/loader:570:7)
at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:445:45)
@wcjohnson11 any chance you can share the rest of your vite config?
I'm adding reactjs-tiptap-editor which has this as a dependency, which has react-tweet as a dependency.
Problem
When I try to make use of
enrichTweet
or any function exported from thereact-tweet
package, I get the following error:Reproduction
https://stackblitz.com/edit/remix-run-remix-8g6mfu?file=app%2Froutes%2F_index.tsx
Failed attempts
I have tried to edit my vite config in many ways, all of which were met with failure:
The text was updated successfully, but these errors were encountered: