File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,10 @@ declare const global: NodeJS.Global &
3333
3434function _require < TResult > ( moduleName : string ) : TResult {
3535 if ( typeof __non_webpack_require__ === 'function' ) {
36- // If this library has been webpacked, we need to call the real `require` function
37- // that doesn't get turned into a __webpack_require__ statement
36+ // If this library has been bundled with Webpack, we need to call the real `require` function
37+ // that doesn't get turned into a `__webpack_require__` statement.
38+ // `__non_webpack_require__` is a Webpack macro that gets turned into a `require` statement
39+ // during bundling.
3840 return __non_webpack_require__ ( moduleName ) ;
3941 } else {
4042 return require ( moduleName ) ;
You can’t perform that action at this time.
0 commit comments