refactor(editor): split turbo renderer and cloud view builder (#12213)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Introduced dedicated extensions for cloud features, turbo renderer, and PDF embed preview, enabling modular and configurable view options.
  - Added audio embed preview support for attachments, enhancing the audio file viewing experience.

- **Refactor**
  - Streamlined editor view configuration with modular extension registration.
  - Simplified extension setup by removing some feature flags and related services from core editor configuration.

- **Chores**
  - Updated internal worker configuration paths for improved organization.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Saul-Mirone
2025-05-12 01:36:41 +00:00
parent 4c8e11aa25
commit e91e0e1812
13 changed files with 180 additions and 58 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ function getBaseWorkerConfigs(pkg: Package) {
),
createWorkerTargetConfig(
pkg,
core.srcPath.join('blocksuite/extensions/turbo-painter.worker.ts').value
core.srcPath.join(
'blocksuite/extensions/turbo-renderer/turbo-painter.worker.ts'
).value
),
];
}