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.
This commit is contained in:
Aluan Haddad
2017-03-16 21:57:09 -04:00
committed by GitHub
parent 0ec09941bf
commit 554f008afb
+6 -1
View File
@@ -1,4 +1,9 @@
{
"main": "tslib.js",
"format": "cjs"
"format": "cjs",
"meta": {
"tslib.js": {
"esModule": true
}
}
}