This repository is a proof of concept demonstrating how to integrate mediainfo.js into a Next.js application bundled with Turbopack.
It focuses on the configuration required for Next.js to correctly locate, bundle, and load the mediainfo.js WebAssembly (.wasm) assets and related resources, which is a common pain point when using WASM-based libraries with Turbopack.
The project serves as a minimal, practical reference for anyone looking to use mediainfo.js in a modern Next.js setup.
Install dependencies.
pnpm installRun the development server
pnpm dev