Pass nativeRequire, as well

This commit is contained in:
Jonathan Clem committed 2021-04-21 16:40:48 -04:00
1 parent 75e3a5b35d
commit c416f56b51
5 files changed
+4 -2

No files matched your search

-2
View File
@@ -1,7 +1,5 @@
import * as path from 'path'
declare const __non_webpack_require__: NodeRequire
export const wrapRequire = new Proxy(__non_webpack_require__, {
apply: (target, thisArg, [moduleID]) => {
if (moduleID.startsWith('.')) {