diff --git a/webapp/src/components/content/contentElement.tsx b/webapp/src/components/content/contentElement.tsx index f0498868f..4a1c7eed4 100644 --- a/webapp/src/components/content/contentElement.tsx +++ b/webapp/src/components/content/contentElement.tsx @@ -11,9 +11,9 @@ import {contentRegistry} from './contentRegistry' // Need to require here to prevent webpack from tree-shaking these away // TODO: Update webpack to avoid this -require('./textElement') -require('./imageElement') -require('./dividerElement') +import './textElement' +import './imageElement' +import './dividerElement' type Props = { block: IContentBlock