Is it possible not to inject release into chunk?
See original GitHub issueSomewhat similar to #93 but simpler request:
I had beautiful reproducible builds, then I wanted to push map files up to sentry the easy way, and tried @sentry/webpack-plugin
, and lo and behold, it injects release
git has into the largest chunk that webpack outputs.
Here’s the beautified diff:
@@ -1,4 +1,4 @@
-/*! For license information please see 2.0ccaa625.chunk.js.LICENSE.txt */
+/*! For license information please see 2.d819ca89.chunk.js.LICENSE.txt */
(this.webpackJsonpXXX = this.webpackJsonpXXX || []).push([
[2],
[function(e, t, n) {
@@ -11453,7 +11453,7 @@
("undefined" !== typeof window ? window : "undefined" !==
typeof e ? e : "undefined" !== typeof self ? self : {})
.SENTRY_RELEASE = {
- id: "acb1212d2e588cf8c71f9608e5ca99f6c0add460"
+ id: "71a1cf60123d0c252552cf2ba146bf8ebed08dc0"
}
}).call(this, n(43))
}, function(e, t, n) {
@@ -29769,4 +29769,4 @@
}(r.a)
}]
]);
-//# sourceMappingURL=2.0ccaa625.chunk.js.map
\ No newline at end of file
+//# sourceMappingURL=2.d819ca89.chunk.js.map
\ No newline at end of file
Is there a switch to not do that?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to prevent commonsChunkPlugin from injecting the ...
I am using preload-webpack-plugin along with the commonschunkplugin for webpack. My webpack version is 3. Now the issue is that using the ...
Read more >Avoiding unconscious injection of vial-derived rubber particles ...
Therefore, our first hypothesis, that coring may be reduced if a thinner needle is used for injection than for aspiration could not be...
Read more >Proper Injection Technique to Prevent Coring
Knowing the parts of a syringe and needle is crucial, not only for proper injection techniques but also to keep an aseptic field...
Read more >filtration method preference among injecting drug users - PMC
Drug preparations are commonly filtered by illicit drug users before injection in order to eliminate impurities of the drug containing ...
Read more >SplitChunksPlugin - webpack
By default it only affects on-demand chunks, because changing initial chunks would affect the script tags the HTML file should include to run...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I do this after
yarn build
(and deployment):IIRC
--rewrite
actually modifies files inbuild/
, so I do this at the very end.@dimaqq Hi, would you be please willing to share how you cli upload code looks?