Version
3.1.1
Reproduction link
https://github.com/abreitenfeld/vue-polyfills
Node and OS info
Node v8.11.4
NPM v.5.6.0
Steps to reproduce
- Create a fresh Vue project via the CLI
- Extend the
babel.config.js
with the preset polyfills
(according to the CLI documentation)
- Try to build the project
What is expected?
Build succeeds with the given polyfills
What is actually happening?
Build fails with the error Unknown option: .polyfills
I used the example from https://cli.vuejs.org/guide/browser-compatibility.html#polyfills