Skip to content

Commit a1979bd

Browse files
authored
fix: should not include IE11 target in Vue 3 projects (#6437)
As Vue 3 does not, and likely will not support IE11. vuejs/rfcs#294
1 parent 3f3d036 commit a1979bd

File tree

1 file changed

+2
-1
lines changed
  • packages/@vue/cli-service/generator

1 file changed

+2
-1
lines changed

packages/@vue/cli-service/generator/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ module.exports = (api, options) => {
3232
browserslist: [
3333
'> 1%',
3434
'last 2 versions',
35-
'not dead'
35+
'not dead',
36+
...(options.vueVersion === '3' ? ['not ie 11'] : [])
3637
]
3738
})
3839

0 commit comments

Comments
 (0)