docs(extensions): added linking and fixed module export

This commit is contained in:
Jochen Mehlich 2023-10-24 10:17:53 +02:00 committed by GitHub
parent 9607e00636
commit f24f284eb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -524,4 +524,12 @@ class SomeBlocks {
});
};
}
module.exports = SomeBlocks;
```
## Linking a extension
To enable your custom written extension we need to add it to the extension-manager (src/extension-support/extension-manager.js) in the builtinExtensions list
```
someBlocks: () => require('.../extensions/someBlocks');
```