Skip to content

3.1.4

Latest

Choose a tag to compare

@thednp thednp released this 15 Nov 11:21

What Changed

  • Tooling maintenance: the bundles now control their comments with the bundler's native outputOptions.comments option in tsdown.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 @preserve marker in src/index.ts dropped its @preserve suffix, since keeping that comment in the UMD output is no longer needed.

Full Changelog: 3.1.3...3.1.4