Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
requestToExternal: ( request ) => {
switch ( request ) {
case '@wordpress/dom-ready':
case '@wordpress/i18n':
case '@wordpress/polyfill':
case '@wordpress/url':
return undefined;
default:
return defaultRequestToExternal( request );
}
},
} ),
requestToExternal: ( request ) => {
switch ( request ) {
case '@wordpress/dom-ready':
case '@wordpress/i18n':
case '@wordpress/server-side-render':
case '@wordpress/url':
return undefined;
default:
return defaultRequestToExternal( request );
}
},
} ),