Create basic block
[MAILPOET-1798]
This commit is contained in:
committed by
Jack Kitterhing
parent
f11102ab34
commit
261624c2bb
@@ -370,7 +370,15 @@ const formEditorConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = [adminConfig, publicConfig, migratorConfig, formEditorConfig, testConfig].map((config) => {
|
||||
// Block config
|
||||
const postEditorBlock = {
|
||||
name: 'post_editor_block',
|
||||
entry: {
|
||||
post_editor_block: 'post_editor_block/blocks.jsx',
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = [adminConfig, publicConfig, migratorConfig, formEditorConfig, testConfig, postEditorBlock].map((config) => {
|
||||
if (config.name !== 'test') {
|
||||
config.plugins = config.plugins || [];
|
||||
config.plugins.push(
|
||||
|
Reference in New Issue
Block a user