Closed
Description
Version
3.0.0-beta.16
Reproduction link
https://codesandbox.io/s/1wn0368mv4
Steps to reproduce
Add a package with modern browser syntax and add the transpileDependencies: ["some-package"]
option in vue.config.js.
- Run the codesandbox example in IE 11 -> script error.
- Look and the source code -> not transpiled.
What is expected?
The given package(s) should be transpiled.
What is actually happening?
The option is ignored.
I have a npm dependency which uses ES6 features and is unfortunately not transpiled. So I added the transpileDependencies: ["vue-moment"]
option to my vue.config.js. But the package ist not going to be transpiled. The build version contains all the const and let and spread operator stuff from the original. When I copy the file to the project source and use it all is fine. I also tried transpileDependencies: [/.*/]
but not any single package is transpiled.