summaryrefslogtreecommitdiff
path: root/js/assets.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/assets.ts')
-rw-r--r--js/assets.ts16
1 files changed, 10 insertions, 6 deletions
diff --git a/js/assets.ts b/js/assets.ts
index 436906783..b3a6e00db 100644
--- a/js/assets.ts
+++ b/js/assets.ts
@@ -44,12 +44,8 @@ import libEsnextDts from "/third_party/node_modules/typescript/lib/lib.esnext.d.
import libEsnextIntlDts from "/third_party/node_modules/typescript/lib/lib.esnext.intl.d.ts!string";
import libEsnextSymbolDts from "/third_party/node_modules/typescript/lib/lib.esnext.symbol.d.ts!string";
-// @internal
-export const assetSourceCode: { [key: string]: string } = {
- // Generated library
- "lib.deno_runtime.d.ts": libDts,
-
- // Static libraries
+// Default static libraries for all compile jobs
+const defaultAssets: { [key: string]: string } = {
"lib.es2015.collection.d.ts": libEs2015CollectionDts,
"lib.es2015.core.d.ts": libEs2015CoreDts,
"lib.es2015.d.ts": libEs2015Dts,
@@ -85,3 +81,11 @@ export const assetSourceCode: { [key: string]: string } = {
"lib.esnext.intl.d.ts": libEsnextIntlDts,
"lib.esnext.symbol.d.ts": libEsnextSymbolDts
};
+
+// assests for normal compile jobs
+// @internal
+export const assetSourceCode: { [key: string]: string } = {
+ // Generated library
+ "lib.deno_runtime.d.ts": libDts,
+ ...defaultAssets
+};