-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
140 additions
and
9 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
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../new_url_directory_3/_new_url_directory_3.test.mjs/8_resolve_ancestor/build/js/feature.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const srcDirectoryUrl = new URL("../src/", import.meta.url); | ||
export const rootDirectoryUrl = new URL("../", import.meta.url); | ||
export const outsideDirectoryUrl = new URL("../fixtures/", import.meta.url); | ||
export const outsideDirectoryUrl = new URL("../../", import.meta.url); |
3 changes: 3 additions & 0 deletions
3
...and_build/as_js_module/_as_js_module_dev.test.mjs/1_firefox/.jsenv/[email protected]/file.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,3 @@ | ||
(function (root) { | ||
root.__answer__ = 42; | ||
})(this); |
4 changes: 4 additions & 0 deletions
4
...nd_build/as_js_module/_as_js_module_dev.test.mjs/1_firefox/.jsenv/[email protected]/file.mjs
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 (root) { | ||
root.__answer__ = 42; | ||
})(window); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJyb290IiwiX19hbnN3ZXJfXyIsIndpbmRvdyJdLCJzb3VyY2VzIjpbImZpbGU6Ly8vVXNlcnMvZGFtL0RvY3VtZW50cy9kZXYvY29yZS90ZXN0cy9kZXZfYW5kX2J1aWxkL2FzX2pzX21vZHVsZS9jbGllbnQvZmlsZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyIoZnVuY3Rpb24gKHJvb3QpIHtcbiAgcm9vdC5fX2Fuc3dlcl9fID0gNDI7XG59KSh0aGlzKTtcbiJdLCJtYXBwaW5ncyI6IkFBQUEsQ0FBQyxVQUFVQSxJQUFJLEVBQUU7RUFDZkEsSUFBSSxDQUFDQyxVQUFVLEdBQUcsRUFBRTtBQUN0QixDQUFDLEVBQUFDLE1BQU0sQ0FBQyIsImlnbm9yZUxpc3QiOltdfQ== |
16 changes: 16 additions & 0 deletions
16
...uild/as_js_module/_as_js_module_dev.test.mjs/1_firefox/.jsenv/[email protected]/file.mjs.map
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,16 @@ | ||
{ | ||
"version": 3, | ||
"names": [ | ||
"root", | ||
"__answer__", | ||
"window" | ||
], | ||
"sources": [ | ||
"base/client/file.js" | ||
], | ||
"sourcesContent": [ | ||
"(function (root) {\n root.__answer__ = 42;\n})(this);\n" | ||
], | ||
"mappings": "AAAA,CAAC,UAAUA,IAAI,EAAE;EACfA,IAAI,CAACC,UAAU,GAAG,EAAE;AACtB,CAAC,EAAAC,MAAM,CAAC", | ||
"ignoreList": [] | ||
} |
61 changes: 61 additions & 0 deletions
61
...d_build/as_js_module/_as_js_module_dev.test.mjs/1_firefox/.jsenv/[email protected]/main.html
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,61 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Title</title> | ||
<meta charset="utf-8"> | ||
</head> | ||
<body> | ||
<jsenv-scripts> | ||
<script src="/@fs@jsenv/core/src/plugins/server_events/client/server_events_client.js" jsenv-injected-by="jsenv:server_events_client_injection"></script> | ||
<script jsenv-injected-by="jsenv:server_events_client_injection" content-indented="" jsenv-cooked-by="jsenv:html_inline_content_analysis"> | ||
window.__server_events__.setup({ | ||
"logs": true | ||
}); | ||
</script> | ||
<script src="/@fs@jsenv/core/packages/internal/plugin-supervisor/src/client/supervisor.js" jsenv-injected-by="jsenv:supervisor"></script> | ||
<script jsenv-injected-by="jsenv:supervisor" content-indented=""> | ||
window.__supervisor__.setup({ | ||
"logs": false, | ||
"measurePerf": false, | ||
"errorOverlay": true, | ||
"openInEditor": true, | ||
"serverIsJsenvDevServer": true, | ||
"rootDirectoryUrl": "base/client/", | ||
"scriptInfos": [ | ||
{ | ||
"type": "js_classic", | ||
"src": "/[email protected]" | ||
}, | ||
{ | ||
"type": "js_module", | ||
"src": "/main.js" | ||
} | ||
] | ||
}); | ||
</script> | ||
<script type="module" jsenv-injected-by="jsenv:autoreload_client" content-indented=""> | ||
import { initAutoreload } from "/@fs@jsenv/core/src/plugins/autoreload/client/autoreload.js"; | ||
|
||
initAutoreload({ | ||
"mainFilePath": "/index.html" | ||
}); | ||
</script> | ||
<script type="module" jsenv-injected-by="jsenv:ribbon" content-indented=""> | ||
import { injectRibbon } from "/@fs@jsenv/core/src/plugins/ribbon/client/ribbon.js"; | ||
|
||
injectRibbon({ | ||
"text": "DEV" | ||
}); | ||
</script> | ||
</jsenv-scripts> | ||
|
||
|
||
|
||
<script jsenv-cooked-by="jsenv:supervisor" content-indented="" inlined-from-src="/[email protected]"> | ||
window.__supervisor__.superviseScript("/[email protected]"); | ||
</script> | ||
<script type="module" content-indented="" jsenv-cooked-by="jsenv:supervisor" inlined-from-src="/main.js"> | ||
window.__supervisor__.superviseScriptTypeModule("/main.js", (url) => import(url)); | ||
</script> | ||
</body> | ||
</html> |
5 changes: 5 additions & 0 deletions
5
...and_build/as_js_module/_as_js_module_dev.test.mjs/1_firefox/.jsenv/[email protected]/main.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...build/as_js_module/_as_js_module_dev.test.mjs/1_firefox/.jsenv/[email protected]/main.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
tests/dev_and_build/as_js_module/_as_js_module_dev.test.mjs/1_firefox/1_firefox.md
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,21 @@ | ||
# [1_firefox](../../as_js_module_dev.test.mjs#L23) | ||
|
||
```js | ||
run({ browserLauncher: firefox }) | ||
``` | ||
|
||
# 1/2 write 6 files into "./.jsenv/[email protected]/" | ||
|
||
see [./.jsenv/[email protected]/](./.jsenv/[email protected]/) | ||
|
||
# 2/2 resolve | ||
|
||
```js | ||
42 | ||
``` | ||
|
||
--- | ||
|
||
<sub> | ||
Generated by <a href="https://github.com/jsenv/core/tree/main/packages/independent/snapshot">@jsenv/snapshot</a> | ||
</sub> |
11 changes: 11 additions & 0 deletions
11
..._and_build/as_js_module/_as_js_module_dev.test.mjs/as_js_module_dev.test.mjs.md
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,11 @@ | ||
# [as_js_module_dev.test.mjs](../as_js_module_dev.test.mjs) | ||
|
||
|
||
- [0_chromium](0_chromium/0_chromium.md) | ||
- [1_firefox](1_firefox/1_firefox.md) | ||
|
||
--- | ||
|
||
<sub> | ||
Generated by <a href="https://github.com/jsenv/core/tree/main/packages/independent/snapshot">@jsenv/snapshot</a> | ||
</sub> |
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
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