If scripts are enqueued with dependency still async will be applied?
-
Hi,
I am a plugin author.
My plugin uses 3 script files and dependency is set in wp_enqueue_script().
js/chunk-vendors.js
js/chunk-common.js
js/user.js1) But I could see still async attribute is added.
I hope in this case your plugin should consider deferring it or leave it untouched.2) Do you have any hook to exclude my plugin from adding async?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘If scripts are enqueued with dependency still async will be applied?’ is closed to new replies.