Haoqun Jiang 759d77fd5c refactor: use babel overrides to transpile babel runtime helpers (#4777)
* refactor: use babel overrides to transpile babel runtime helpers

As recommended in babel/babel#9903.
Get rid of the module-resolver plugin, may fix #3928.
Seems to have fixed #4742 as well.

There may be a small breaking change: as we now use `excludes` & `includes`, babel requires `filename` option to be present (introduced in https://github.com/babel/babel/pull/10181/files). So users who call `babel.transformSync` directly may encounter an error.

However, as we explicitly stated that this preset is only used for Vue CLI internally, I don't expect too many such use cases there. And the error messages are clear enough.
Considering the benefits that this PR brings, I think it's an acceptable tradeoff.


 test: update tests for babel

* test: fix windows tests

* test: remove unused variables

* fix: fix scope package paths on Windows

* test: wait some time in router tests in case dom hasn't updated in time
2019-11-04 16:29:06 +08:00
2019-10-22 19:53:34 +08:00
2019-10-22 19:53:34 +08:00
2018-01-06 13:04:43 -05:00
2019-10-21 20:53:20 +08:00

vue-cli Build Status Windows Build status lerna

Vue CLI is the Standard Tooling for Vue.js Development.

Documentation

Docs are available at https://cli.vuejs.org/ - we are still working on refining it and contributions are welcome!

Contributing

Please see contributing guide.

License

MIT

Description
🛠️ webpack-based tooling for Vue.js Development
Readme MIT 45 MiB
Languages
JavaScript 75%
Vue 22.9%
TypeScript 0.9%
Stylus 0.5%
HTML 0.3%
Other 0.4%