diff --git a/includes/blocks/class-wc-dummy-payments-blocks.php b/includes/blocks/class-wc-dummy-payments-blocks.php index 299b30f..f83ae2c 100644 --- a/includes/blocks/class-wc-dummy-payments-blocks.php +++ b/includes/blocks/class-wc-dummy-payments-blocks.php @@ -45,8 +45,7 @@ public function is_active() { * @return array */ public function get_payment_method_script_handles() { - $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; - $script_path = '/assets/js/frontend/blocks' . $suffix . '.js'; + $script_path = '/assets/js/frontend/blocks.js'; $script_asset_path = WC_Dummy_Payments::plugin_abspath() . 'assets/js/frontend/blocks.asset.php'; $script_asset = file_exists( $script_asset_path ) ? require( $script_asset_path )