Replies: 2 comments 3 replies
-
Hello @luwes, The way to specify a loader is explained here Did you already try this option ? |
Beta Was this translation helpful? Give feedback.
-
Hello @anthonyshew, |
Beta Was this translation helpful? Give feedback.
-
Summary
Hi, I'm one of the authors of next-video.
With webpack there is the option to receive the binary contents in the loader via
https://webpack.js.org/api/loaders#raw-loader
When I tried to create a custom loader for video files for example Turbopack seemed to try and convert the imported file contents to a string and errored and failed to get the returned ESM code from the loader.
Is there a raw option for Turbopack?
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions