Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Commit 065f24c

Browse files
sudo-suhasLinusBorg
authored andcommitted
build: Configure targets.browser for babel-preset-env (vuejs-templates#763)
1 parent 8563cdb commit 065f24c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

template/.babelrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"presets": [
3-
["env", { "modules": false }],
3+
["env", {
4+
"modules": false,
5+
"targets": {
6+
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
7+
}
8+
}],
49
"stage-2"
510
],
611
"plugins": ["transform-runtime"],

0 commit comments

Comments
 (0)