woocommerce/plugins/woocommerce-admin/client/tasks/fills/index.js

30 lines
597 B
JavaScript

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