The reason you're getting the fake worker and the warning is because you're importing pdf.worker.min.js in your HTML file. What you should be doing instead is setting
GlobalWorkerOptions.workerSrc = './pdf.worker.min.js'
as kca notes. But also remove the HTML script import.