Skip to content

Commit 443b4cf

Browse files
committed
Update webpack.config.js for 5.0
No need to add ibexaConfig to module.exports
1 parent ccbeb83 commit 443b4cf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

code_samples/back_office/image_editor/config/webpack.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ const projectConfig = Encore.getWebpackConfig();
4747

4848
projectConfig.name = 'app';
4949

50+
module.exports = [...customConfigs, projectConfig];
51+
5052
/* Get ibexaConfig and ibexaConfigManager */
5153
const ibexaConfigManager = require('@ibexa/frontend-config/webpack-config/manager');
5254
const getIbexaConfig = require('@ibexa/frontend-config/webpack-config/ibexa');
@@ -58,6 +60,3 @@ ibexaConfigManager.add({
5860
entryName: 'ibexa-admin-ui-layout-js',
5961
newItems: [ path.resolve(__dirname, './assets/random_dot/random-dot.js'), ],
6062
});
61-
62-
/* Add ibexaConfig to module.exports */
63-
module.exports = [ibexaConfig, ...customConfigs, projectConfig];

docs/content_management/pages/page_block_attributes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ ibexa_fieldtype_page:
177177
```
178178

179179
- `help` - defines a help message which is rendered below the field.
180-
- `help_attr` - sets the HTML attributes for the element which displays the help message.
181-
- `help_html` - set this option to `true` to disable escaping the contents of the `help` option when rendering in the template.
180+
- `help.attr` - sets the HTML attributes for the element which displays the help message.
181+
- `help.html` - set this option to `true` to disable escaping the contents of the `help` option when rendering in the template.
182182

183183
### Help message in nested attributes
184184

0 commit comments

Comments
 (0)