mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
55362452a8
Currently the resolution for extension sources is different depending on whether `include_js_files_for_snapshotting` is enabled. If sources are embedded it uses `include_str!()` which is module-relative. If sources are read at runtime paths are joined to `CARGO_MANIFEST_DIR` and are package-relative. This makes them both package-relative. Fixes `cargo run -p deno_runtime --example extension_with_esm --features include_js_files_for_snapshotting`. |
||
---|---|---|
.. | ||
extension_with_esm | ||
extension_with_ops |