Skip to content

Commit

Permalink
fix recaptcha and a bit of js rewriting
Browse files Browse the repository at this point in the history
  • Loading branch information
s-tn committed Aug 11, 2023
1 parent 8986a7a commit 5ed9873
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion lib/global/rewrite/js/type/MemberExpression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function MemberExpression(node: Node, parent: Node = {} as any, c
}
}

if (node.computed) {
if (node.computed && config.destination !== 'worker') {
node.property = {
type: "CallExpression",
callee: {type: 'Identifier', name: 'dp$'},
Expand Down
2 changes: 1 addition & 1 deletion static/dynamic/dynamic.client.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/dynamic/dynamic.client.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions static/dynamic/dynamic.handler.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/dynamic/dynamic.handler.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/dynamic/dynamic.worker.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/dynamic/dynamic.worker.js.map

Large diffs are not rendered by default.

0 comments on commit 5ed9873

Please sign in to comment.