Closed vikerman closed 4 years ago
Copies tslib.mjs file from tslib.es6.js as part of prepare script.
prepare
This change should only affect Node when used with ES modules since the .mjs files is referenced only in conditional export and should be safer.
Resolves #81; closes #84
Creating a symbolic link doesn't work since npm package doesn't support it.
All CLA requirements met.
In https://github.com/microsoft/tslib/pull/121 I included the ./ export for backwards compatibility on this.
./
This is in with #126
Copies tslib.mjs file from tslib.es6.js as part of
prepare
script.This change should only affect Node when used with ES modules since the .mjs files is referenced only in conditional export and should be safer.
Resolves #81; closes #84
87 renames the CJS version to .cjs extension which could potentially break existing bundling/serving tools.
Creating a symbolic link doesn't work since npm package doesn't support it.