title: Error in NextJs compilation using next-pwa - web loader
body: <p>My nextJS application works very well but I wanted to improve it further by turning it into a PWA. </p>
  
  <p>I have installed the Next-pwa package and the build application for this, but I have an error in the browser.</p>
  
  <p>Here's the error: </p>
  
  <p><a href="https://i.stack.imgur.com/pl0nN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pl0nN.png" alt="error"></a></p>
  
  <p>I followed the following tutorial => <a href="https://itnext.io/pwa-with-next-js-create-next-app-in-2020-%EF%B8%8F-9ee0e1a6313d" rel="nofollow noreferrer">tuto link</a></p>
  
  <p>I am a novice in the use of web-workers. I think I need to set up a solution for the images but I don't know how to do it.</p>
  
  <p>Thanks to you :)</p>