From 554f008afb9275d99232ead0c84cf195ae4f214d Mon Sep 17 00:00:00 2001 From: Aluan Haddad Date: Thu, 16 Mar 2017 21:57:09 -0400 Subject: [PATCH] add esModule marker for compatibility with SystemJS 0.20 This allows for correct loading of tslib under jspm 0.17/SystemJS 0.20 while preserving compatibility with jspm 0.16/SystemJS 0.19. See related discussion in #1040, #1041, and https://github.com/Microsoft/tslib/issues/26. --- package-overrides/npm/tslib@1.0.0.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package-overrides/npm/tslib@1.0.0.json b/package-overrides/npm/tslib@1.0.0.json index edcd9c4..738cd7b 100644 --- a/package-overrides/npm/tslib@1.0.0.json +++ b/package-overrides/npm/tslib@1.0.0.json @@ -1,4 +1,9 @@ { "main": "tslib.js", - "format": "cjs" + "format": "cjs", + "meta": { + "tslib.js": { + "esModule": true + } + } }