Skip to content

Commit

Permalink
Switch to viewScript in block.json.
Browse files Browse the repository at this point in the history
See #35
  • Loading branch information
dd32 committed Feb 17, 2023
1 parent e460ca8 commit 7a467bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"textdomain": "wporg",
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"script": [ "file:./script.js", "zxcvbn-async", "two-factor-qr-code-generator" ],
"viewScript": [ "file:./script.js", "zxcvbn-async", "two-factor-qr-code-generator" ],
"style": [ "file:./style-index.css", "wp-components" ],
"render": "file:./render.php"
}

0 comments on commit 7a467bc

Please sign in to comment.