You can refer to the official next js documentation: turbopack doc
To use "@svgr/webpack" you can add this section to the next.config file:
turbopack: { rules: { '*.svg': { loaders: ['@svgr/webpack'], as: '*.js', }, }, },