summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-08-24 14:54:20 +0200
committerGitHub <noreply@github.com>2022-08-24 14:54:20 +0200
commit5268fa0e0f34571f0fc615eb665747863aca311e (patch)
tree3c23531d8484e4821662bc822634eabb9862dd57 /ext/node/lib.rs
parentf3bde1d53b4710fb526286e27af29a55f5da18c7 (diff)
fix(unstable): various resolution bugs for npm: specifiers (#15546)
Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index 6be376e6d..f72f72cc9 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -40,6 +40,8 @@ mod errors;
mod package_json;
mod resolution;
+pub const MODULE_ES_SHIM: &str = include_str!("./module_es_shim.js");
+
struct Unstable(pub bool);
pub fn init(