# Elastic-apm-sourcemap-webpack-plugin

**URL:** <https://discuss.elastic.co/t/elastic-apm-sourcemap-webpack-plugin/171634>\
**Category:** APM\
**Created:** [March 10, 2019, 4:10pm UTC](https://discuss.elastic.co/t/elastic-apm-sourcemap-webpack-plugin/171634 "2019-03-10T16:10:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuct](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wuct/32/41112_2.png) [@wuct](https://discuss.elastic.co/u/wuct)\
**Post date:** [March 10, 2019, 4:10pm UTC](https://discuss.elastic.co/t/elastic-apm-sourcemap-webpack-plugin/171634/1 "2019-03-10T16:10:36Z")

</div>

Hi,

I have created [a Webpack plugin](https://github.com/wuct/elastic-apm-sourcemap-webpack-plugin/) that uploads sourcemaps generated by Webpack to the Elastic APM server. I found it works perfectly in CI/CD pipelines and local developing flow.

Currently works with Webpack 4. For Webpack 3, there is a [branch](https://github.com/wuct/elastic-apm-sourcemap-webpack-plugin/pull/15) waiting for merging.

Please give me any suggestion or feedback if you find anything that can be improved. Also, feel free to ask me any question!

elastic-apm-sourcemap-webpack-plugin: [https://github.com/wuct/elastic-apm-sourcemap-webpack-plugin/](https://github.com/wuct/elastic-apm-sourcemap-webpack-plugin/)

---

<div class="post-metadata">

**Author:** ![Hamidreza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hamidreza/32/21369_2.png) [@Hamidreza](https://discuss.elastic.co/u/Hamidreza)\
**Post date:** [March 11, 2019, 8:48am UTC](https://discuss.elastic.co/t/elastic-apm-sourcemap-webpack-plugin/171634/2 "2019-03-11T08:48:07Z")

</div>

Hi,

Thank you for your contribution to Elastic APM.

A webpack plugin to upload sourcemaps to APM server would improve development process and it has also been on our radar. Great work!

I will have a look in more detail and make suggestions on the repo. For now, I have created [this PR](https://github.com/elastic/apm-contrib/pull/17) to add this plugin to our list of community contributions.

Thanks again,  
Hamid

---

<div class="post-metadata">

**Author:** ![wuct](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wuct/32/41112_2.png) [@wuct](https://discuss.elastic.co/u/wuct)\
**Post date:** [March 11, 2019, 2:15pm UTC](https://discuss.elastic.co/t/elastic-apm-sourcemap-webpack-plugin/171634/3 "2019-03-11T14:15:06Z")

</div>

Thank you @Hamidreza !

---

<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:** [April 1, 2019, 10:26am UTC](https://discuss.elastic.co/t/elastic-apm-sourcemap-webpack-plugin/171634/4 "2019-04-01T10:26:51Z")

</div>

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