babel 6 upgrade (#9702)

* [npm] upgrade babel

The upgrade to babel 6 requires an upgrade to all of the associated modules, which meant that a few other things changed at the same time. The most notable is the way that we handle our babel-options, which is now done with an npm module and includes using the babel-loader's "presets" query string param.

This meant changes to the babel_options.js module and extending it to help setting up the "babel-register" module, which was previously copy-pasted in several places.

* [mtodules] upgrade to support babel6 module semantics

* [eslint] fix lint errors

* [babel] ignoer massive fixture files

* [cli/errors] use Object.setPrototypeOf since subclassing Error is broken

* [babel] Upgrading core babel libraries

[babel] Use WIP babel-6-fix branch of babel-preset-kibana

* Fix broken test

* [babel] Reverse unnecessary module.exports changes

* Fix notifier

* Use babel presets and plugins directly

* [babel/options] resolve preset/plugins paths for better plugin compatibility

* [babel/options] use babel-preset-env for correct node settings

* [babel] cache babel compilation in webpack like we thought we were
This commit is contained in:
Richard Hoffman 2017-02-09 13:48:55 -08:00 committed by Spencer
parent f2da2a3640
commit 8b4c052889
40 changed files with 242 additions and 142 deletions

View file

@ -37,7 +37,7 @@ bdd.describe('discover app', function describeIndexTests() {
bdd.describe('field data', function () {
const queryName1 = 'Query # 1';
const queryName1 = 'New Saved Search';
const fromTimeString = 'September 19th 2015, 06:31:44.000';
const toTimeString = 'September 23rd 2015, 18:31:44.000';