Skip to content

Commit 9bca0be

Browse files
committed
Improvements
1 parent 34c5442 commit 9bca0be

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/administration/back_office/back_office_elements/importing_assets_from_bundle.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,15 @@ To add a new configuration under your own namespace and with its own dependencie
103103

104104
## Configuration from main project files
105105

106-
If you prefer to include the asset configuration in the main project files, add it in [`webpack.config.js`](https://github.com/ibexa/recipes/blob/master/ibexa/oss/4.0/encore/webpack.config.js#L31).
106+
If you prefer to include the asset configuration in the main project files, add it in [`webpack.config.js`](https://github.com/ibexa/recipes/blob/master/ibexa/oss/4.6/encore/webpack.config.js#L26).
107107

108108
To overwrite the built-in assets, use the following configuration to replace, remove, or add asset files in `webpack.config.js`:
109109

110110
``` js
111+
const ibexaConfigManager = require('./ibexa.webpack.config.manager.js');
112+
113+
//...
114+
111115
ibexaConfigManager.replace({
112116
ibexaConfig,
113117
entryName: '<entry-name>',

docs/administration/back_office/subitems_list.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ And include it into the back office using Webpack Encore, together with your cus
5353
See [configuring assets from main project files](importing_assets_from_bundle.md#configuration-from-main-project-files) to learn more about this mechanism.
5454

5555
``` js
56+
const ibexaConfigManager = require('./ibexa.webpack.config.manager.js');
57+
58+
//...
59+
5660
ibexaConfigManager.add({
5761
ibexaConfig,
5862
entryName: 'ibexa-admin-ui-layout-js',

0 commit comments

Comments
 (0)