1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/runtime/examples
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
..
extension_with_esm fix(core): consistent extension source resolution (#19615) 2023-06-29 23:07:05 +02:00
extension_with_ops Revert "Reland "refactor(core): cleanup feature flags for js source i… (#19611) 2023-06-26 13:54:10 +02:00