Skip to content

v2.0.0

Latest

Choose a tag to compare

@naecoo naecoo released this 22 Aug 14:31
· 1 commit to main since this release
18f86c2

⚠ BREAKING CHANGES

  • Minimum Node.js version is now 18
  • Source code rewritten in TypeScript
  • Build output format changed (ESM/CJS)

Features

  • Support latest esbuild version (0.28.x)
  • Add TypeScript support with auto-generated type definitions
  • Add VitePress documentation site: https://naecoo.github.io/esbuild-plugin-replace/
  • Add GitHub Pages deployment workflow
  • Add comprehensive test suite

Bug Fixes

  • Fix include option now properly takes precedence over exclude
  • Fix regex escaping for special characters

Dependencies

  • Upgrade esbuild from ^0.17.19 to ^0.28.2
  • Upgrade magic-string from ^0.25.7 to ^0.30.x
  • Upgrade typescript from ^4.2.3 to ^5.7.x
  • Upgrade vitest from ^0.31.1 to ^3.2.7

Full Changelog: v1.5.0...v2.0.0