woocommerce/plugins/woocommerce-admin/client/task-lists/fills/index.ts

31 lines
648 B
TypeScript
Raw Normal View History

/**
* Internal dependencies
*/
import { isImportProduct } from './utils';
import './PaymentGatewaySuggestions';
import './shipping';
import './Marketing';
import './appearance';
import './tax';
import './woocommerce-payments';
import './purchase';
import './deprecated-tasks';
import './customize-store-tasklist-item';
const possiblyImportProductTask = async () => {
if ( isImportProduct() ) {
import( './import-products' );
} else {
import( './products' );
}
};
possiblyImportProductTask();
if (
window.wcAdminFeatures &&
window.wcAdminFeatures[ 'shipping-smart-defaults' ]
) {
import( './experimental-shipping-recommendation' );
}