V
V
vimirtv2021-10-26 15:47:12
webpack
vimirtv, 2021-10-26 15:47:12

How to enable support for old vuejs browsers?

I am using vue3 in a project. I need support for older browsers, namely chrome 49. When the project is launched in chrome 49, an error occurs - syntax error unexpected token.
Swears on the spread operator.

In babel.config.js the @babel/plugin-proposal-object-rest-spread plugin is enabled but seems to be ignored...

My babel.config.js

module.exports = {
  "presets": ["@vue/cli-plugin-babel/preset"],
  "plugins": 
};


6177f89fbae9c745463025.jpeg
6177f8a76d083049302920.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2021-10-26
@Aetae

How did it happen so well that Proxy appeared in chrome 49...
And so, do you have a .browserslistrc file? If so, is it stated there that chrome 49?
Polyfills and all that are set based on this file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question