Replies: 1 comment
-
Hello @luwes, The way to specify a loader is explained here Did you already try this option ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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