mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Implement multiple import map support
This commit is contained in:
committed by
Luke Wilde
parent
0a216f9c14
commit
ac6fe2e211
Notes:
github-actions[bot]
2024-12-10 12:02:45 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/ac6fe2e211e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2824 Reviewed-by: https://github.com/Lubrsi ✅
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"conflict": "./import-maps-1.js"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"conflict": "./import-maps-2.js"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="module">
|
||||
import * as Conflict from 'conflict';
|
||||
test(() => {
|
||||
Conflict.main();
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user