feat(richtext-lexical)!: move migration related features to /migrate subpath export in order to decrease module count when those are not used (#7660)
This lowers the module count by 31 modules BREAKING: Migration-related lexical modules are now exported from `@payloadcms/richtext-lexical/migrate` instead of `@payloadcms/richtext-lexical`
This commit is contained in:
@@ -2,14 +2,16 @@ import type { CollectionConfig } from 'payload'
|
||||
|
||||
import {
|
||||
HTMLConverterFeature,
|
||||
LexicalPluginToLexicalFeature,
|
||||
LinkFeature,
|
||||
SlateToLexicalFeature,
|
||||
TreeViewFeature,
|
||||
UploadFeature,
|
||||
lexicalEditor,
|
||||
lexicalHTML,
|
||||
} from '@payloadcms/richtext-lexical'
|
||||
import {
|
||||
LexicalPluginToLexicalFeature,
|
||||
SlateToLexicalFeature,
|
||||
} from '@payloadcms/richtext-lexical/migrate'
|
||||
|
||||
import { lexicalMigrateFieldsSlug } from '../../slugs.js'
|
||||
import { getSimpleLexicalData } from './data.js'
|
||||
|
||||
Reference in New Issue
Block a user