From 32f08cdd47ff8a874c36a41c610f5e987d8184bd Mon Sep 17 00:00:00 2001 From: Nethmi Rodrigo <34070216+NethmiRodrigo@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:44:03 +0530 Subject: [PATCH] (chore) Update tooling (#368) --- i18next-parser.config.js | 4 ++++ webpack.config.js | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/i18next-parser.config.js b/i18next-parser.config.js index c720f962..d0625595 100644 --- a/i18next-parser.config.js +++ b/i18next-parser.config.js @@ -65,6 +65,10 @@ module.exports = { sort: true, // Whether or not to sort the catalog + skipDefaultValues: false, + // Whether to ignore default values + // You may also specify a function accepting the locale and namespace as arguments + useKeysAsDefaultValue: false, // Whether to use the keys as the default value; ex. "Hello": "Hello", "World": "World" // This option takes precedence over the `defaultValue` and `skipDefaultValues` options diff --git a/webpack.config.js b/webpack.config.js index d34f5458..f0038d8f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,4 @@ const config = (module.exports = require('openmrs/default-webpack-config')); -config.scriptRuleConfig.exclude = /(node_modules(?![/\\]@(?:openmrs|ohri)))/; config.overrides.resolve = { extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss', '.json'], alias: {