chore: bring treeshake back (#11577)
This commit is contained in:
1 parent
0ce5a9544b
commit
e376aa57c5
8 files changed
+63
-81
No files matched your search
@@ -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