This commit is contained in:
2026-11-25 18:18:22 +08:00
parent eb2ea93f4c
commit 5c2f3daeee
697 changed files with 200872 additions and 641 deletions
+14
View File
@@ -0,0 +1,14 @@
/*
MIT License http://www.opensource.org/licenses/mit-license.php
*/
"use strict";
// Browser shim for the Node `url` builtin, providing the `fileURLToPath` the
// resolver uses. Node, Deno and Bun use the native `url` (so they get the fully
// correct implementation); only browser bundles use this, wired in through the
// package `browser` field. The implementation is a URL-based port — see
// ./fileURLToPath.
module.exports = {
fileURLToPath: require("./fileURLToPath"),
};