File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
projects/packages/jetpack-mu-wpcom
src/features/wpcom-blocks/code/block-definition Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -444,5 +444,7 @@ function htmlEncode( content: string ): string {
444444 . replaceAll ( '[' , '[' ) ;
445445}
446446
447- // eslint-disable-next-line import/no-unresolved -- The feature registers this module for import.
448- const EditCodeMirror = React . lazy ( ( ) => import ( '@a8cCodeBlock/block-edit-function' ) ) ;
447+ const EditCodeMirror = React . lazy (
448+ // eslint-disable-next-line import/no-unresolved -- The feature registers this module for import.
449+ ( ) => import ( /* webpackIgnore: true */ '@a8cCodeBlock/block-edit-function' )
450+ ) ;
Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ module.exports = async () => {
126126 } ,
127127 externals : {
128128 ...jetpackWebpackConfig . externals ,
129- '@a8cCodeBlock/block-edit-function' : 'import @a8cCodeBlock/block-edit-function' ,
130129 jetpackConfig : JSON . stringify ( {
131130 consumer_slug : 'jetpack-mu-wpcom' ,
132131 } ) ,
You can’t perform that action at this time.
0 commit comments