mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-15 09:14:11 +02:00
Use import instead of requrie
This commit is contained in:
parent
87a914b197
commit
46cb593bbb
@ -11,9 +11,9 @@ import {contentRegistry} from './contentRegistry'
|
|||||||
|
|
||||||
// Need to require here to prevent webpack from tree-shaking these away
|
// Need to require here to prevent webpack from tree-shaking these away
|
||||||
// TODO: Update webpack to avoid this
|
// TODO: Update webpack to avoid this
|
||||||
require('./textElement')
|
import './textElement'
|
||||||
require('./imageElement')
|
import './imageElement'
|
||||||
require('./dividerElement')
|
import './dividerElement'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
block: IContentBlock
|
block: IContentBlock
|
||||||
|
Loading…
Reference in New Issue
Block a user