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

29 lines
577 B
JavaScript
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';
const possiblyImportProductTask = async () => {
if ( isImportProduct() ) {
import( './import-products' );
} else {
import( './products' );
}
};
possiblyImportProductTask();
if (
window.wcAdminFeatures &&
window.wcAdminFeatures[ 'shipping-smart-defaults' ]
) {
import( './experimental-shipping-recommendation' );
}