Vue PWA exclude some files

Posted on November 30, 2020

I found out the solution here and I'm going to re-post here for convenience:

module.exports = {
  pwa: {
    workboxOptions: {
      exclude: ['file_one.htm', 'file_two.js'],
    }
  }
}