fix: webpack in nodespace
This commit is contained in:
parent
95e18b9978
commit
9c4d273279
|
@ -143,7 +143,7 @@ class Compiler {
|
|||
[
|
||||
'prepend',
|
||||
{
|
||||
prepend: 'const __non_webpack_require__ = require;',
|
||||
prepend: '"undefined" === typeof global.__non_webpack_require__ && (global.__non_webpack_require__ = require);',
|
||||
},
|
||||
'__non_webpack_require__',
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue
Block a user