summaryrefslogtreecommitdiff
path: root/.babelrc
blob: 8cf07b73420940fe7804aa0f6f316e0a7c1a1c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  "presets": [["latest", { "es2015": { "modules": false } }], "stage-2"],
  "env": {
    "coverage": {
      "plugins": [
        [
          "istanbul",
          {
            "exclude": ["spec/javascripts/**/*", "app/assets/javascripts/locale/**/app.js"]
          }
        ],
        [
          "transform-define",
          {
            "process.env.BABEL_ENV": "coverage"
          }
        ]
      ]
    }
  }
}