Skip to content

Commit 8a5db3e

Browse files
authored
Merge pull request Expensify#44079 from Expensify/dsilva_addThirdPartyScriptsInstaging
Adding check for staging for loading thirdPartyScripts
2 parents ac77254 + 078baf8 commit 8a5db3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<% if (htmlWebpackPlugin.options.isWeb) { %>
122122
<!-- polyfill.io is only needed on Web to support older browsers. It should not be loaded for desktop -->
123123
<script src="https://polyfill.io/v3/polyfill.min.js?features=default%2CResizeObserver&flags=gated"></script>
124-
<% if (htmlWebpackPlugin.options.isProduction) { %>
124+
<% if (htmlWebpackPlugin.options.isProduction || htmlWebpackPlugin.options.isStaging) { %>
125125
<!-- Third party scripts -->
126126
<script async="" src="thirdPartyScripts.js"></script>
127127
<!-- End Third party scripts -->

0 commit comments

Comments
 (0)