export async function preloadMonacoEditor() {
  try {
    // 预加载 Monaco Editor 核心模块
    await import('@/hooks/design/useMonacoEditor')
    console.log('Monaco Editor preloaded successfully')
  } catch (error) {
    console.warn('Failed to preload Monaco Editor:', error)
  }
}