Co-authored-by: Tim Neutkens <timneutkens@me.com>
fix type declarations to avoid import from webpack/webpack4/webpack5 in type declarations
This commit creates a new Webpack `TelemetryPlugin` to gather information about usage of certain features, for example `next/image` and `next/script`.