Skip to content

Commit b5f2ef0

Browse files
committed
[Importing assets] Fixed invalid usage of IbexaConfig and IbexaConfigManager (#2462)
1 parent 693503e commit b5f2ef0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/administration/back_office/back_office_elements/importing_assets_from_bundle.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,23 @@ create an `ibexa.config.manager.js` file:
4242
``` js
4343
const path = require('path');
4444

45-
module.exports = (IbexaConfig, IbexaConfigManager) => {
46-
IbexaConfigManager.replace({
47-
IbexaConfig,
45+
module.exports = (ibexaConfig, ibexaConfigManager) => {
46+
ibexaConfigManager.replace({
47+
ibexaConfig,
4848
entryName: '<entry-name>',
4949
itemToReplace: path.resolve(__dirname, '<path_to_old_file>'),
5050
newItem: path.resolve(__dirname, '<path_to_new_file>'),
5151
});
52-
IbexaConfigManager.remove({
53-
IbexaConfig,
52+
ibexaConfigManager.remove({
53+
ibexaConfig,
5454
entryName: '<entry-name>',
5555
itemsToRemove: [
5656
path.resolve(__dirname, '<path_to_old_file>'),
5757
path.resolve(__dirname, '<path_to_old_file>'),
5858
],
5959
});
60-
IbexaConfigManager.add({
61-
IbexaConfig,
60+
ibexaConfigManager.add({
61+
ibexaConfig,
6262
entryName: '<entry-name>',
6363
newItems: [
6464
path.resolve(__dirname, '<path_to_new_file>'),
@@ -117,24 +117,24 @@ To overwrite the built-in assets, use the following configuration to replace, re
117117
in `webpack.config.js`:
118118

119119
``` js
120-
IbexaConfigManager.replace({
121-
IbexaConfig,
120+
ibexaConfigManager.replace({
121+
ibexaConfig,
122122
entryName: '<entry-name>',
123123
itemToReplace: path.resolve(__dirname, '<path_to_old_file>'),
124124
newItem: path.resolve(__dirname, '<path_to_new_file>'),
125125
});
126126

127-
IbexaConfigManager.remove({
128-
IbexaConfig,
127+
ibexaConfigManager.remove({
128+
ibexaConfig,
129129
entryName: '<entry-name>',
130130
itemsToRemove: [
131131
path.resolve(__dirname, '<path_to_old_file>'),
132132
path.resolve(__dirname, '<path_to_old_file>'),
133133
],
134134
});
135135

136-
IbexaConfigManager.add({
137-
IbexaConfig,
136+
ibexaConfigManager.add({
137+
ibexaConfig,
138138
entryName: '<entry-name>',
139139
newItems: [
140140
path.resolve(__dirname, '<path_to_new_file>'),

0 commit comments

Comments
 (0)