kibana/tasks/config/babel.js
Spencer 2f6654bcec [eslint] re-enable no-var and prefer-const (#9455)
* [eslint] enable no-var and autofix

* [eslint] enable prefer-const and autofix

* [eslint] fix autofix-incompatible no-var and prefer-const violations
2016-12-13 10:44:27 -07:00

18 lines
366 B
JavaScript

const { defaults } = require('lodash');
const babelOptions = require('../../src/optimize/babel_options');
module.exports = {
build: {
options: babelOptions.node,
src: [
'build/kibana/**/*.js',
'!**/public/**',
'!**/node_modules/**',
'!**/bower_components/**',
'!**/__tests__/**'
],
dest: '.',
expand: true
}
};