Repository navigation
What Changed
- Tooling maintenance: the bundles now control their comments with the bundler's native
outputOptions.commentsoption intsdown.config.ts, with no extra plugin. The UMD build (comments: false) drops every source comment, which shrinks it by ~20% — 36.1 kB → 19.0 kB — while the ESM and CJS builds keep their JSDoc (comments: { jsdoc: true, annotation: false }) and only drop the/*#__PURE__*/annotation comments. The bundled type declarations (dist/dommatrix.d.ts) are unchanged, so the editor hints are the same. - The
// istanbul ignore else @preservemarker insrc/index.tsdropped its@preservesuffix, since keeping that comment in the UMD output is no longer needed.
Full Changelog: 3.1.3...3.1.4