diff --git a/packages/webcrack/src/unpack/webpack/json-module.ts b/packages/webcrack/src/unpack/webpack/json-module.ts index f410f900..e153edf7 100644 --- a/packages/webcrack/src/unpack/webpack/json-module.ts +++ b/packages/webcrack/src/unpack/webpack/json-module.ts @@ -24,7 +24,7 @@ export function transformJsonModule(ast: t.File): unknown { const matcher = m.expressionStatement( m.assignmentExpression( '=', - constMemberExpression('module', 'exports'), + constMemberExpression('__webpack_module__', 'exports'), m.or(jsonObject, jsonArray), ), );