How to add babel plugin to meteor project?

Which file to edit, where to put thing like this:

babel-plugin-transform-builtin-extend ?

OK, got it - it can be added to project’s package.json:

  "babel": {
    "plugins": [
            ["babel-plugin-transform-builtin-extend", {
                "globals": ["Error", "Array"]
            }]
        ]
  }
1 Like