From afca054a22a9701f36f2bc060edafdc7e92b139d Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Fri, 26 Apr 2024 15:28:46 +0100 Subject: [PATCH] Merge pull request #18136 from overleaf/jpa-fix-i18n-scanner-glob [web] instruct i18next-scanner to look at frontend code only GitOrigin-RevId: 094cc571810f142b535d0813c2002944a0e1ab9d --- services/web/i18next-scanner.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/i18next-scanner.config.js b/services/web/i18next-scanner.config.js index 99ba3bfc32..ef81bed18b 100644 --- a/services/web/i18next-scanner.config.js +++ b/services/web/i18next-scanner.config.js @@ -5,7 +5,7 @@ const typescript = require('typescript') module.exports = { input: [ 'frontend/js/**/*.{js,jsx,ts,tsx}', - 'modules/**/*.{js,jsx,ts,tsx}', + 'modules/*/frontend/js/**/*.{js,jsx,ts,tsx}', '!frontend/js/vendor/**', ], output: './',