# Can we ugly the custom plugin code?

**URL:** <https://discuss.elastic.co/t/can-we-ugly-the-custom-plugin-code/175301>\
**Category:** Kibana\
**Created:** [April 4, 2019, 1:51am UTC](https://discuss.elastic.co/t/can-we-ugly-the-custom-plugin-code/175301 "2019-04-04T01:51:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![whoami](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@whoami](https://discuss.elastic.co/u/whoami)\
**Post date:** [April 4, 2019, 1:51am UTC](https://discuss.elastic.co/t/can-we-ugly-the-custom-plugin-code/175301/1 "2019-04-04T01:51:02Z")

</div>

can we ugly the custom plugin code? within some conditions, we cannot share the readable source code

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [April 4, 2019, 5:54pm UTC](https://discuss.elastic.co/t/can-we-ugly-the-custom-plugin-code/175301/2 "2019-04-04T17:54:28Z")

</div>

There isn't currently a flag for this, if needed, you could manually process through uglify-js or something before packaging.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 2, 2019, 5:54pm UTC](https://discuss.elastic.co/t/can-we-ugly-the-custom-plugin-code/175301/3 "2019-05-02T17:54:29Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
