A
A
Arioch2019-08-18 21:49:45
Vue.js
Arioch, 2019-08-18 21:49:45

What specifically needs to be written in the Nuxt config so that it generates ES5-compliant code (with 'var' instead of 'let' and 'const')?

Nowhere can I find an answer to the question:
- What exactly should be written in the Nuxt config so that it generates ES5-compatible code (with 'var' instead of 'let' and 'const')?
Somebody knows? Tell me please.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Suha, 2019-08-18
@andreysuha

https://medium.com/@zural143/basic-webpack-4-and-e...

A
Arioch, 2019-08-20
@arioch77

The problem was in Quasar connected as a plugin.
Here is the solution from Kirill Romanov

build: {
    transpile: [
      'quasar',
    ],
}

checked - everything plows !!))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question