tslib icon indicating copy to clipboard operation
tslib copied to clipboard

Version 1.14.0 removes default export

Open redallen opened this issue 4 years ago • 2 comments

This used to work before version 1.14.0 and is still listed in the README:

var tslib_1 = require("tslib");
exports.x = {};
exports.y = tslib_1.__assign({}, exports.x);

I consider this a breaking change since many older libraries are built using tslib < 1.14.0 but upgrading a local app to tslib >= 1.14.0 breaks libraries that rely on the default export.

redallen avatar Oct 08 '20 19:10 redallen

I think this is fixed in #129 - we made no changes to the actual exports the JS emits

orta avatar Oct 10 '20 12:10 orta

We are still having the issue.

stefdelec avatar Feb 01 '21 13:02 stefdelec