You could try updating your webpack config to prevent it from getting bundled
const nextConfig = { webpack: (config) => { config.externals.push("@node-rs/argon2"); return config; } };