| 1 | |
| 2 | |
| 3 | @@ -102,15 +102,6 @@
|
| 4 | }
|
| 5 |
|
| 6 | const development = {};
|
| 7 | - if (devMode) {
|
| 8 | - // Embedded source maps for dev builds, can't use eval-source-map due to CSP
|
| 9 | - development["devtool"] = "inline-source-map";
|
| 10 | - } else {
|
| 11 | - // High quality source maps in separate .map files which include the source. This doesn't bulk up the .js
|
| 12 | - // payload file size, which is nice for performance but also necessary to get the bundle to a small enough
|
| 13 | - // size that sentry will accept the upload.
|
| 14 | - development["devtool"] = "source-map";
|
| 15 | - }
|
| 16 |
|
| 17 | // Resolve the directories for the js-sdk for later use. We resolve these early, so we
|
| 18 | // don't have to call them over and over. We also resolve to the package.json instead of the src
|