mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
chore: bring treeshake back (#11577)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { MarkdownAdapterExtension } from '@blocksuite/affine/adapters';
|
||||
import { getMarkdownAdapterExtensions } from '@blocksuite/affine/adapters';
|
||||
import { Container } from '@blocksuite/affine/global/di';
|
||||
import type {
|
||||
AttachmentBlockModel,
|
||||
@@ -119,7 +119,7 @@ function generateMarkdownPreviewBuilder(
|
||||
};
|
||||
|
||||
const container = new Container();
|
||||
[...MarkdownAdapterExtension].forEach(ext => {
|
||||
getMarkdownAdapterExtensions().forEach(ext => {
|
||||
ext.setup(container);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user