-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
test.html
78 lines (78 loc) · 5.96 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!doctype html>
<body></body>
<script type="importmap">
{
"imports": {
"@babel/core": "https://ga.jspm.io/npm:@babel/core@7.19.1/lib/dev.index.js"
},
"scopes": {
"https://ga.jspm.io/": {
"#lib/config/files/index.js": "https://ga.jspm.io/npm:@babel/core@7.19.1/lib/config/files/index-browser.js",
"#lib/config/resolve-targets.js": "https://ga.jspm.io/npm:@babel/core@7.19.1/lib/config/resolve-targets-browser.js",
"#lib/transform-file.js": "https://ga.jspm.io/npm:@babel/core@7.19.1/lib/transform-file-browser.js",
"#node.js": "https://ga.jspm.io/npm:browserslist@4.21.4/browser.js",
"@ampproject/remapping": "https://ga.jspm.io/npm:@ampproject/remapping@2.2.0/dist/remapping.mjs",
"@babel/code-frame": "https://ga.jspm.io/npm:@babel/code-frame@7.18.6/lib/index.js",
"@babel/compat-data/native-modules": "https://ga.jspm.io/npm:@babel/compat-data@7.19.1/native-modules.js",
"@babel/compat-data/plugins": "https://ga.jspm.io/npm:@babel/compat-data@7.19.1/plugins.js",
"@babel/generator": "https://ga.jspm.io/npm:@babel/generator@7.19.0/lib/index.js",
"@babel/helper-compilation-targets": "https://ga.jspm.io/npm:@babel/helper-compilation-targets@7.19.1/lib/index.js",
"@babel/helper-environment-visitor": "https://ga.jspm.io/npm:@babel/helper-environment-visitor@7.18.9/lib/index.js",
"@babel/helper-function-name": "https://ga.jspm.io/npm:@babel/helper-function-name@7.19.0/lib/index.js",
"@babel/helper-hoist-variables": "https://ga.jspm.io/npm:@babel/helper-hoist-variables@7.18.6/lib/index.js",
"@babel/helper-module-imports": "https://ga.jspm.io/npm:@babel/helper-module-imports@7.18.6/lib/index.js",
"@babel/helper-module-transforms": "https://ga.jspm.io/npm:@babel/helper-module-transforms@7.19.0/lib/index.js",
"@babel/helper-simple-access": "https://ga.jspm.io/npm:@babel/helper-simple-access@7.18.6/lib/index.js",
"@babel/helper-split-export-declaration": "https://ga.jspm.io/npm:@babel/helper-split-export-declaration@7.18.6/lib/index.js",
"@babel/helper-string-parser": "https://ga.jspm.io/npm:@babel/helper-string-parser@7.18.10/lib/index.js",
"@babel/helper-validator-identifier": "https://ga.jspm.io/npm:@babel/helper-validator-identifier@7.19.1/lib/index.js",
"@babel/helper-validator-option": "https://ga.jspm.io/npm:@babel/helper-validator-option@7.18.6/lib/index.js",
"@babel/helpers": "https://ga.jspm.io/npm:@babel/helpers@7.19.0/lib/index.js",
"@babel/highlight": "https://ga.jspm.io/npm:@babel/highlight@7.18.6/lib/index.js",
"@babel/parser": "https://ga.jspm.io/npm:@babel/parser@7.19.1/lib/index.js",
"@babel/template": "https://ga.jspm.io/npm:@babel/template@7.18.10/lib/index.js",
"@babel/traverse": "https://ga.jspm.io/npm:@babel/traverse@7.19.1/lib/index.js",
"@babel/types": "https://ga.jspm.io/npm:@babel/types@7.19.0/lib/index.js",
"@jridgewell/gen-mapping": "https://ga.jspm.io/npm:@jridgewell/gen-mapping@0.1.1/dist/gen-mapping.umd.js",
"@jridgewell/resolve-uri": "https://ga.jspm.io/npm:@jridgewell/resolve-uri@3.1.0/dist/resolve-uri.umd.js",
"@jridgewell/set-array": "https://ga.jspm.io/npm:@jridgewell/set-array@1.1.2/dist/set-array.umd.js",
"@jridgewell/sourcemap-codec": "https://ga.jspm.io/npm:@jridgewell/sourcemap-codec@1.4.14/dist/sourcemap-codec.umd.js",
"@jridgewell/trace-mapping": "https://ga.jspm.io/npm:@jridgewell/trace-mapping@0.3.15/dist/trace-mapping.umd.js",
"ansi-styles": "https://ga.jspm.io/npm:ansi-styles@3.2.1/index.js",
"assert": "https://ga.jspm.io/npm:@jspm/core@2.0.0-beta.26/nodelibs/browser/assert.js",
"browserslist": "https://ga.jspm.io/npm:browserslist@4.21.4/index.js",
"buffer": "https://ga.jspm.io/npm:@jspm/core@2.0.0-beta.26/nodelibs/browser/buffer.js",
"caniuse-lite/dist/unpacker/agents": "https://ga.jspm.io/npm:caniuse-lite@1.0.30001411/dist/unpacker/agents.js",
"chalk": "https://ga.jspm.io/npm:chalk@2.4.2/index.js",
"color-convert": "https://ga.jspm.io/npm:color-convert@1.9.3/index.js",
"color-name": "https://ga.jspm.io/npm:color-name@1.1.3/index.js",
"convert-source-map": "https://ga.jspm.io/npm:convert-source-map@1.8.0/index.js",
"debug": "https://ga.jspm.io/npm:debug@4.3.4/src/browser.js",
"electron-to-chromium/versions": "https://ga.jspm.io/npm:electron-to-chromium@1.4.261/versions.js",
"escape-string-regexp": "https://ga.jspm.io/npm:escape-string-regexp@1.0.5/index.js",
"fs": "https://ga.jspm.io/npm:@jspm/core@2.0.0-beta.26/nodelibs/browser/fs.js",
"gensync": "https://ga.jspm.io/npm:gensync@1.0.0-beta.2/index.js",
"globals": "https://ga.jspm.io/npm:globals@11.12.0/index.js",
"js-tokens": "https://ga.jspm.io/npm:js-tokens@4.0.0/index.js",
"jsesc": "https://ga.jspm.io/npm:jsesc@2.5.2/jsesc.js",
"ms": "https://ga.jspm.io/npm:ms@2.1.2/index.js",
"node-releases/data/processed/envs.json": "https://ga.jspm.io/npm:node-releases@2.0.6/data/processed/envs.json.js",
"node-releases/data/release-schedule/release-schedule.json": "https://ga.jspm.io/npm:node-releases@2.0.6/data/release-schedule/release-schedule.json.js",
"path": "https://ga.jspm.io/npm:@jspm/core@2.0.0-beta.26/nodelibs/browser/path.js",
"process": "https://ga.jspm.io/npm:@jspm/core@2.0.0-beta.26/nodelibs/browser/process.js",
"safe-buffer": "https://ga.jspm.io/npm:safe-buffer@5.1.2/index.js",
"semver": "https://ga.jspm.io/npm:semver@6.3.0/semver.js",
"supports-color": "https://ga.jspm.io/npm:supports-color@5.5.0/browser.js",
"to-fast-properties": "https://ga.jspm.io/npm:to-fast-properties@2.0.0/index.js"
},
"https://ga.jspm.io/npm:@babel/generator@7.19.0/": {
"@jridgewell/gen-mapping": "https://ga.jspm.io/npm:@jridgewell/gen-mapping@0.3.2/dist/gen-mapping.umd.js"
}
}
}
</script>
<script type="module">
const start = performance.now();
await import('@babel/core');
document.body.innerHTML = `<p>Time: ${performance.now() - start}</p>`;
</script>