Skip to content

Commit

Permalink
fix: leak strict mode with UMD builds (facebook#19614)
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 authored and koto committed Jun 15, 2021
1 parent f73ffe7 commit 858577c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/rollup/wrappers.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ ${source}`;
*
${license}
*/
'use strict';
${source}`;
},

Expand All @@ -63,7 +60,7 @@ ${source}`;
*
${license}
*/
${source}`;
(function(){${source}})();`;
},

/***************** UMD_PROFILING *****************/
Expand All @@ -73,7 +70,7 @@ ${source}`;
*
${license}
*/
${source}`;
(function(){${source}})();`;
},

/***************** NODE_DEV *****************/
Expand Down

0 comments on commit 858577c

Please sign in to comment.