diff --git a/oarepo_ui/theme/webpack.py b/oarepo_ui/theme/webpack.py index cd37fd61..57ac64a9 100644 --- a/oarepo_ui/theme/webpack.py +++ b/oarepo_ui/theme/webpack.py @@ -45,12 +45,19 @@ "react-text-truncate": "^0.19.0", "react-datepicker": "^4.21.0", } + aliases = { + "../../theme.config$": "less/theme.config", + "../../less/site": "less/site", + "../../less": "less", + } + else: # RDM 12 webpack dependencies are already included in the oarepo python package, so we just include # those used in our own components here dependencies = { "react-datepicker": "^4.21.0", } + aliases = {} theme = WebpackThemeBundle( __name__, @@ -68,10 +75,10 @@ dependencies=dependencies, devDependencies={}, aliases={ + **aliases, + "@translations/oarepo_ui": "translations/oarepo_ui", - "../../theme.config$": "less/theme.config", - "../../less/site": "less/site", - "../../less": "less", + # search and edit "@less/oarepo_ui": "less/oarepo_ui", "@js/oarepo_ui": "js/oarepo_ui", diff --git a/setup.cfg b/setup.cfg index a1e81bd0..7a600a22 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = oarepo-ui -version = 5.0.93 +version = 5.0.94 description = UI module for invenio 3.5+ long_description = file: README.md long_description_content_type = text/markdown