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:
@@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
"main": "tslib.js",
|
"main": "tslib.js",
|
||||||
"format": "cjs"
|
"format": "cjs",
|
||||||
|
"meta": {
|
||||||
|
"tslib.js": {
|
||||||
|
"esModule": true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user