The editor's vendored modules come from server v2.0.0-beta.4 with the process stub @lezer/lr needs, so languages load and code is highlighted again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
450 B
JavaScript
10 lines
450 B
JavaScript
/*
|
|
The `process` that esm.sh's builds import as "/node/process.mjs" (its Node
|
|
polyfill). @lezer/lr reads `process.env.LOG` to decide whether to log its
|
|
parse; nothing else here asks. Without this the absolute path is a 404 on
|
|
this server, @lezer/lr fails to load, and with it every editor language
|
|
that parses: the editor then opens with no highlighting at all.
|
|
Mapped by the import map in files/edit.html.
|
|
*/
|
|
export default { env: {} };
|