Alternate bundler: add index.d.ts types to plugin (#77144)
This allows the plugin to be used with typescript next.config.ts
configs.
Test Plan:
import type { NextConfig } from 'next'
import withRspack from '@next/plugin-rspack'
const nextConfig: NextConfig = {
experimental: {
inlineCss: true,
ppr: true,
useLightningcss: true,
},
reactStrictMode: true,
}
export default withRspack(nextConfig)