Add new form editor hello world
[SHOP-2450]
This commit is contained in:
committed by
Jack Kitterhing
parent
7655a3dd55
commit
ac0fd14c7c
@ -360,10 +360,22 @@ const testConfig = {
|
||||
'jquery': 'jQuery',
|
||||
'interact': 'interact',
|
||||
'spectrum': 'spectrum',
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = [adminConfig, publicConfig, migratorConfig, testConfig].map((config) => {
|
||||
// FormEditor config
|
||||
const formEditorConfig = {
|
||||
name: 'form_editor',
|
||||
entry: {
|
||||
form_editor: 'form_editor/index.jsx',
|
||||
},
|
||||
externals: {
|
||||
'jquery': 'jQuery',
|
||||
'mailpoet': 'MailPoet',
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = [adminConfig, publicConfig, migratorConfig, formEditorConfig, testConfig].map((config) => {
|
||||
if (config.name !== 'test') {
|
||||
config.plugins = config.plugins || [];
|
||||
config.plugins.push(
|
||||
|
Reference in New Issue
Block a user