forked from denoland/deno_emit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since the initial release, the bundle type, the compiler options and the imports were not properly forwarded from JS to Rust. We now forward them, and added some tests to verify this behaviour. Closes denoland#83, denoland#69, denoland#29.
- Loading branch information
1 parent
b586977
commit 54fceab
Showing
8 changed files
with
118 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/__snapshots__/bundle/inline_source_maps_are_enabled_by_default.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
tests/__snapshots__/bundle/setting_inlinesourcemap_does_not_produce_any_source_maps.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
function hello() { | ||
return "Hello there!"; | ||
} | ||
export { hello as default }; |
5 changes: 5 additions & 0 deletions
5
tests/__snapshots__/bundle/setting_inlinesourcemap_to_true_produces_inline_source_maps.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...e/setting_sourcemap_to_true_and_inlinesourcemap_to_false_produces_external_source_maps.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
function hello() { | ||
return "Hello there!"; | ||
} | ||
export { hello as default }; |
1 change: 1 addition & 0 deletions
1
...tting_sourcemap_to_true_and_inlinesourcemap_to_false_produces_external_source_maps.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...cemap_to_true_is_not_enough_to_produce_external_source_maps_as_inline_takes_precedence.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
function hello() { | ||
return "Hello there!"; | ||
} | ||
export { hello as default }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters