-
I have a Ruby on Rails 6.1.3 project running webpacker. I use React on the frontend. I am trying to replace Plyr with Vidstack and am running into an issue with the import. When webpack tries to compile, I get this error message:
I followed the installation guide here and installed the Vidstack React library using yarn:
I've imported it as the installation guide states. Here's my code:
Is there something I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It seems like WebPacker is no longer maintained or supported based on the README. Other alternatives are mentioned such as Turbo and Stimulus. WebPacker most likely doesn't support Node package exports. |
Beta Was this translation helpful? Give feedback.
It seems like WebPacker is no longer maintained or supported based on the README. Other alternatives are mentioned such as Turbo and Stimulus. WebPacker most likely doesn't support Node package exports.