You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
When working with the electron app we noticed ES2020 was not being compiled correctly. Features such as optional chaining were throwing compilation errors as the loader for these files were outdated. This was also the case for files imported from node_modules meaning any library that used this modern JS syntax would not compile.
To fix this we updated the vue-cli-plugins and noticed that babel-eslint is deprecated, so updated this to use @babel/eslint-parser.
A side effect of bumping the babel and vue-cli versions were that automated linting occurred when building and serving the electron app blocking compilation. To get around this we added a temporary .eslintignore file to discard these complaints for now.
TLDR: This PR updates the vue-cli and babel/eslint dependancies so that they are able to compile JS files and modules that use modern ES2020 syntax, aligning with the vue (.vue) file loader.
The text was updated successfully, but these errors were encountered:
see: divamgupta#299
The text was updated successfully, but these errors were encountered: