Merge pull request #19689 from overleaf/jpa-editor-core-cjs

[overleaf-editor-core] remove Node.js stdlib import and tweak babel config

GitOrigin-RevId: 2ac13cc17651a3b522606f8df23c7e6915be19a6
This commit is contained in:
Jakob Ackermann
2024-08-01 12:45:38 +02:00
committed by Copybot
parent e43491a04f
commit 8cba7935b7
4 changed files with 12 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
/** @module */
'use strict'
const path = require('path')
const path = require('path-browserify')
/**
* Regular expressions for Overleaf v2 taken from

View File

@@ -26,6 +26,7 @@
"@overleaf/o-error": "*",
"check-types": "^5.1.0",
"lodash": "^4.17.19",
"p-map": "^4.0.0"
"p-map": "^4.0.0",
"path-browserify": "^1.0.1"
}
}