mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 15:16:28 +08:00
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:
@@ -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
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user