The getResources function does not correctly list all scripts If all import statements are rendered in one line. So split on both newline and ; characters.
This should fix the problem where You may not be getting optimal performance out of card-mod. is still printed in the console even the js is loaded in frontend via extra_module_url.
The
getResources
function does not correctly list all scripts If allimport
statements are rendered in one line. So split on both newline and;
characters.This should fix the problem where
You may not be getting optimal performance out of card-mod.
is still printed in the console even the js is loaded in frontend viaextra_module_url
.