Merging JS in blocks error
-
Hello,
I have to report another issue of your amazing plugin.
Merging JS to goes almost well until set both
+?Enable merging of JavaScript files??
+ Contain each included file in its own block?
This case file from wp_enqueue_script goes to it’s own and separate block, wp_localize_script with the same handle goes to another block and wp_add_inline_script with the same handle keeps left in the html file.
So, the script from wp_enqueue_script file doesn’t see variables from wp_add_inline_script and wp_localize_script and can’t be executed.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Merging JS in blocks error’ is closed to new replies.