fix: webpackHook
This commit is contained in:
parent
4ed5b07f97
commit
72065c3fc2
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ export const webpackHook = (moduleId: string, moduleOverrides: { [id: string]: M
|
|||
Object.defineProperty(exp, name, { enumerable: true, get: fn })
|
||||
},
|
||||
n (e) {
|
||||
return e.__esModule ? () => e.default : () => e
|
||||
const m = e.__esModule ? () => e.default : () => e
|
||||
t.d(m, 'a', m)
|
||||
return m
|
||||
},
|
||||
r (r) {
|
||||
Object.defineProperty(r, '__esModule', { value: true })
|
||||
|
|
Loading…
Reference in a new issue