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

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

GitOrigin-RevId: 094cc571810f142b535d0813c2002944a0e1ab9d
This commit is contained in:
Jakob Ackermann 2024-04-26 15:28:46 +01:00 committed by Copybot
parent 568044ee48
commit afca054a22

View file

@ -5,7 +5,7 @@ const typescript = require('typescript')
module.exports = { module.exports = {
input: [ input: [
'frontend/js/**/*.{js,jsx,ts,tsx}', 'frontend/js/**/*.{js,jsx,ts,tsx}',
'modules/**/*.{js,jsx,ts,tsx}', 'modules/*/frontend/js/**/*.{js,jsx,ts,tsx}',
'!frontend/js/vendor/**', '!frontend/js/vendor/**',
], ],
output: './', output: './',