Closed fedemp closed 4 months ago
Since this package is published as commonjs, es6 files are now published using the mjs extension.
Added more explicit file paths in the exports field, pointing to a unique declaration file for each bundle.
exports
Declaration file is copied using the mts extension so it's explicitly marked as es6.
The package now passes the publint and Are the types wrong? tests.
Sorry, missed the PR earlier! Just released it as 0.10.0. Thanks!
0.10.0
Since this package is published as commonjs, es6 files are now published using the mjs extension.
Added more explicit file paths in the
exports
field, pointing to a unique declaration file for each bundle.Declaration file is copied using the mts extension so it's explicitly marked as es6.
The package now passes the publint and Are the types wrong? tests.