Add webpack config to override UI components with customisation
This commit is contained in:
parent
86a4d70bcf
commit
0996956308
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ const additionalPlugins = [
|
|||
/src[\/\\]customisations[\/\\]WidgetVariables\.ts/,
|
||||
path.resolve(require.resolve("matrix-react-sdk/package.json"), '..', 'src', 'customisations', 'bayern', 'BayernWidgetVariableCustomisations.ts'),
|
||||
),
|
||||
new webpack.NormalModuleReplacementPlugin(
|
||||
/src[\/\\]customisations[\/\\]ComponentVisibility\.ts/,
|
||||
path.resolve(require.resolve("matrix-react-sdk/package.json"), '..', 'src', 'customisations', 'bayern', 'BayernComponentVisibilityCustomisations.ts'),
|
||||
),
|
||||
];
|
||||
|
||||
module.exports = (env, argv) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue