-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
needs reproductionThis issue is missing a minimal runnable reproduction, provided by the authorThis issue is missing a minimal runnable reproduction, provided by the author
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.
FlorianWendelborn, fungiboletus, MikeMitterer and 1Cr18Ni9
Metadata
Metadata
Assignees
Labels
needs reproductionThis issue is missing a minimal runnable reproduction, provided by the authorThis issue is missing a minimal runnable reproduction, provided by the author