Home

Issue: 3027

Error appears in browser console when set `generate.minify.maxLineLength` and generate

[issue link]

I set generate.minify.maxLineLength to 80 in nuxt.config.js:

  generate: {
    minify: {
      maxLineLength: 80,
    },
  },

And I ran generate, started server and opened website in browser.
Then following error appeared in browser console:

TypeError: n.setAttribute is not a function
    at Array.Xn (vendor.a90d6cc6517921cb7500.js:2)
    at C (vendor.a90d6cc6517921cb7500.js:2)
    at vendor.a90d6cc6517921cb7500.js:2
    at C (vendor.a90d6cc6517921cb7500.js:2)
    at vendor.a90d6cc6517921cb7500.js:2
    at C (vendor.a90d6cc6517921cb7500.js:2)
    at vendor.a90d6cc6517921cb7500.js:2
    at C (vendor.a90d6cc6517921cb7500.js:2)
    at a.__patch__ (vendor.a90d6cc6517921cb7500.js:2)
    at a.t._update (vendor.a90d6cc6517921cb7500.js:2)
This question is available on Nuxt.js community (#c2622)