WordPress at Your Fingertips
function is not described

woocommerce_admin_check_build_files() WC 1.0

Returns true if build file exists.

No Hooks.

Return

true|false.

Usage

woocommerce_admin_check_build_files();

Code of woocommerce_admin_check_build_files() WC 6.1.1

function woocommerce_admin_check_build_files() {
	$script_debug = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG;
	$suffix       = Loader::should_use_minified_js_file( $script_debug ) ? '.min' : '';
	return file_exists( __DIR__ . "/dist/app/index{$suffix}.js" );
}