Replies: 1 comment 2 replies
-
There is a related issue opened #46954. There is no simple way to do it today. You can still register a script yourself with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Iìm currently testing @wordpress/scripts to build blocks js, but I can see that its default is to register the scripts with default parameters, so that they will load into the head section. I'd like them to be in footer. Also I'd like to add defer property. Ho to hook into that? I used to use plain wp_register/enqueue_script, but this time it seems it's all done by @wordpress/scripts. So how to?
Beta Was this translation helpful? Give feedback.
All reactions