We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi I face duplicate script type when i enable partytown for a specific js script
script type="text/partytown" type='text/javascript' ....
The script is outside Plugins and i am using this code in active theme functions.php
function wpb_adding_scripts() { wp_register_script('my_amazing_script', get_template_directory_uri() . '/js/scripts/combine.min.js', array('partytown'),'1.0.0', true); wp_enqueue_script('my_amazing_script'); } add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );
The text was updated successfully, but these errors were encountered:
Could you please provide some minimum reproducible example?
Sorry, something went wrong.
I am using in Windows/IIS 10 environments
No branches or pull requests
Hi
I face duplicate script type when i enable partytown for a specific js script
script type="text/partytown" type='text/javascript' ....
The script is outside Plugins and i am using this code in active theme functions.php
function wpb_adding_scripts() {
wp_register_script('my_amazing_script', get_template_directory_uri() . '/js/scripts/combine.min.js', array('partytown'),'1.0.0', true);
wp_enqueue_script('my_amazing_script');
}
add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );
The text was updated successfully, but these errors were encountered: