Merge pull request #30232 from overleaf/ar/convert-clsi-to-es-modules

[clsi] convert to ES modules

GitOrigin-RevId: fb7fa52cc8f678ee31be352e62a5dff95e88008b
This commit is contained in:
Andrew Rumble
2026-01-21 10:38:29 +00:00
committed by Copybot
parent c0a4c597f0
commit cd7da983d1
107 changed files with 7211 additions and 6126 deletions

View File

@@ -1,5 +1,5 @@
const settings = require('@overleaf/settings')
const OutputCacheManager = require('./OutputCacheManager')
import settings from '@overleaf/settings'
import OutputCacheManager from './OutputCacheManager.js'
const VALID_COMPILERS = ['pdflatex', 'latex', 'xelatex', 'lualatex']
const MAX_TIMEOUT = 600
@@ -247,4 +247,4 @@ function _checkPath(path) {
return path
}
module.exports = { parse, MAX_TIMEOUT }
export default { parse, MAX_TIMEOUT }