* [babel] create babel-preset and babel-register modules * [babel-preset] add comments to babel-preset-env.target choices * [babel-preset] use more normal BUILT_WITH_BABEL signal * [babel-register] extended comment about filtering ./src in dist * [babel-preset] stage of class properties has changed, sorta
19 lines
329 B
JavaScript
19 lines
329 B
JavaScript
module.exports = {
|
|
build: {
|
|
options: {
|
|
presets: [
|
|
require.resolve('../../src/babel-preset/node')
|
|
]
|
|
},
|
|
src: [
|
|
'build/kibana/**/*.js',
|
|
'!**/public/**',
|
|
'!**/node_modules/**',
|
|
'!**/bower_components/**',
|
|
'!**/__tests__/**'
|
|
],
|
|
dest: '.',
|
|
expand: true
|
|
}
|
|
};
|