Browse Source

Merge pull request #18136 from overleaf/jpa-fix-i18n-scanner-glob

[web] instruct i18next-scanner to look at frontend code only

GitOrigin-RevId: 094cc571810f142b535d0813c2002944a0e1ab9d
Jakob Ackermann 2 năm trước cách đây
mục cha
commit
afca054a22
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      services/web/i18next-scanner.config.js

+ 1 - 1
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: './',