hjeti / vue-skeleton

A Vue skeleton
MIT License
108 stars 21 forks source link

Use project-wide configuration file for babel #92

Closed flut1 closed 5 years ago

flut1 commented 5 years ago

Since babel 7, the behavior of the .babelrc file has changed. It used to walk up the directory tree until it ran into a .babelrc file, but now it stops when it sees a directory with package.json.

See: https://babeljs.io/docs/en/config-files

To make sure files in node_modules are still properly transpiled with our project settings, we need to switch to a project-wide configuration file. That boils down to the following: