Add improved logic for loading Node.js module (fixes #118)

This commit is contained in:
Vanilagy
2025-09-16 21:13:32 +02:00
parent 1bb3c0e262
commit 555006b9c3
5 changed files with 25 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
/*!
* Copyright (c) 2025-present, Vanilagy and contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
// This file contains Node.js-specific code that does not run in a browser.
export * as fs from 'node:fs/promises';