1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/runtime/examples/extension_with_esm
Nayeem Rahman 55362452a8
fix(core): consistent extension source resolution (#19615)
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`.
2023-06-29 23:07:05 +02:00
..
bootstrap.js feat(runtime): Add example for extension with ops (#19204) 2023-05-31 14:26:24 -06:00
main.js feat(runtime): Add example for extension with ops (#19204) 2023-05-31 14:26:24 -06:00
main.rs fix(core): consistent extension source resolution (#19615) 2023-06-29 23:07:05 +02:00