2019-08-22 21:58:51 +02:00
|
|
|
/*
|
2021-01-20 02:52:56 +01:00
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
|
|
* and the Server Side Public License, v 1; you may not use this file except in
|
|
|
|
* compliance with, at your election, the Elastic License or the Server Side
|
|
|
|
* Public License, v 1.
|
2019-08-22 21:58:51 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
// We can't use common Kibana presets here because of babel versions incompatibility
|
|
|
|
module.exports = {
|
|
|
|
plugins: ['@babel/plugin-proposal-class-properties'],
|
|
|
|
env: {
|
|
|
|
web: {
|
2019-12-13 23:44:04 +01:00
|
|
|
presets: ['@kbn/babel-preset/webpack_preset'],
|
2019-08-22 21:58:51 +02:00
|
|
|
},
|
|
|
|
node: {
|
|
|
|
presets: ['@kbn/babel-preset/node_preset'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
ignore: ['**/*.test.ts', '**/*.test.tsx'],
|
|
|
|
};
|