nuxt.config.js
/*
     ** You can extend webpack config here
     */
You can extend webpack config here
You can extend webpack config here
extend(config, ctx) {
      if (ctx.isClient) {
      }
    }
extend ( config , ctx ) { if ( ctx . isClient ) { } }
You can extend webpack config here
You can extend webpack config here
// fix hotUpdatePlugin conflict when used with worker loader // config.output.globalObject = 'this' // using unshift if the code might need to be transpile with babel first // config.module.rules.push({ //   test: /\.worker\.js$/, //   include: /workers/, //   use: [{ loader: 'worker-loader' }] // }) // console.log(config.module.rules)