Skip to content

Commit

Permalink
Added support for Script Modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronterry committed Oct 22, 2024
1 parent bd6d413 commit 428d8ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/classes/DomainMapping/Processor/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ public function prepare() {

add_filter( 'script_loader_tag', [ $this, 'map' ], -10, 4 );
add_filter( 'style_loader_tag', [ $this, 'map' ], -10, 4 );
add_filter( 'script_module_loader_src', [ $this, 'map' ], -10, 4 );

add_filter( 'upload_dir', [ $this, 'upload' ], 10, 1 );
}
Expand Down

0 comments on commit 428d8ba

Please sign in to comment.