I am developing a JavaScript (React) plugin for Kibana, version 6.1.3. And I would like to disable Babel, for my plugin, while developing (I do not want my code transpiled). I tried this older suggestion, but it does not work.
I am starting (the development) Kibana using 'sh ./bin/kibana --dev --no-base-path --plugin-path /path/to/plugin'.
Is there any other way to prevent the transpiling process in such a scenario (or on an "outside" plugin directory)?
I modified the src attribute in the babel.js config task, with changes marked below (not all at once) src: [ 'build/kibana/**/*.js', '!**/public/**', '!**/node_modules/**', '!**/bower_components/**', '!**/__tests__/**', '!**my_plugin**', // change#1 '!**/my_plugin/**' // change#2 ]
I don't know how the resources outside the kibana folder are read. And I admit I am not experienced with grunt/babel (or globbing), so I assume this could be a beginner's mistake.
The location of my plugin, relative to the Kibana dev workspace, is as follows: /some/path/kibana /some/path/kibana_plugins_dir/my_plugin
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.