-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsystemjs-setup.js
More file actions
18 lines (18 loc) · 1.19 KB
/
systemjs-setup.js
File metadata and controls
18 lines (18 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
document.head.appendChild(
Object.assign(document.createElement("script"), {
type: "systemjs-importmap",
textContent: `
{
"imports": {
"rxjs": "https://cdn.jsdelivr.net/npm/@esm-bundle/rxjs/system/es2015/rxjs.min.js",
"rxjs/operators": "https://cdn.jsdelivr.net/npm/@esm-bundle/rxjs/system/es2015/rxjs-operators.min.js",
"@angular/core": "https://cdn.jsdelivr.net/npm/@esm-bundle/angular__core/system/es2022/ivy/angular-core.min.js",
"@angular/core/primitives/signals": "https://cdn.jsdelivr.net/npm/@esm-bundle/angular__core/system/es2022/ivy/angular-signals.min.js",
"@angular/compiler": "https://cdn.jsdelivr.net/npm/@esm-bundle/angular__compiler/system/es2022/ivy/angular-compiler.min.js",
"@angular/common": "https://cdn.jsdelivr.net/npm/@esm-bundle/angular__common/system/es2022/ivy/angular-common.min.js",
"@angular/common/http": "https://cdn.jsdelivr.net/npm/@esm-bundle/angular__common/system/es2022/ivy/angular-http.min.js",
"@angular/platform-browser": "https://cdn.jsdelivr.net/npm/@esm-bundle/angular__platform-browser/system/es2022/ivy/angular-platform-browser.min.js"
}
}`,
}),
);