We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe8e82e commit ba5035fCopy full SHA for ba5035f
src/deprecated/block-defaults/index.js
@@ -2,6 +2,7 @@ import { settings as stackableSettings } from 'stackable'
2
3
// Conditionally import scripts
4
if ( stackableSettings.stackable_enable_block_defaults ) {
5
- import( './save-block' )
6
- import( './global-settings' )
+ // Use require instead of dynamic import to avoid code splitting
+ require( './save-block' )
7
+ require( './global-settings' )
8
}
0 commit comments