Skip to content

Releases: davidmyersdev/vite-plugin-node-polyfills

v0.22.0

19 May 22:14
v0.22.0
4566d76
Compare
Choose a tag to compare
  • Stop defining globals when they are disabled

v0.21.0

11 Feb 00:17
v0.21.0
29e3c82
Compare
Choose a tag to compare
  • fix: Make sure all modules under buffer are exported

v0.20.0

09 Feb 06:55
v0.20.0
82954d6
Compare
Choose a tag to compare
  • Fix global polyfill import error (#74)

v0.19.0

27 Dec 19:10
v0.19.0
b8193a2
Compare
Choose a tag to compare
  • Add end-to-end tests with Playwright
  • Add unit/integration tests with Vitest
  • Fix imports for global polyfills (buffer and process) when a trailing slash is used (e.g. import process from 'process/')
  • Replace the IIFE banner with import statements (avoids name conflicts)

v0.18.0

22 Dec 20:00
v0.18.0
c6f299e
Compare
Choose a tag to compare
  • Improve the shim process so that polyfilled globals are not statically replaced in libraries (#47).
  • Internalize buffer and process shims so that conflicting install versions are no longer a concern with Yarn v1 (#61).

v0.17.0

29 Nov 05:37
v0.17.0
bfb5290
Compare
Choose a tag to compare
  • Add support for Vite v5 (and make it the default)
  • Configure CI to run checks on PRs and commits to main

v0.16.0

04 Nov 00:10
v0.16.0
686d715
Compare
Choose a tag to compare
  • Reduce the package size by removing unnecessary files
  • Correctly call the preconfigured onwarn handler when available

v0.15.0

01 Oct 18:35
v0.15.0
eb34ee0
Compare
Choose a tag to compare
  • Ensure the predefined onwarn handler is invoked if it exists
  • Use env.command instead of env.mode so that alternative modes work properly

v0.14.0

12 Sep 01:25
v0.14.0
2ca59e2
Compare
Choose a tag to compare

Add support for overriding default polyfills

v0.12.0

01 Sep 00:04
v0.12.0
788f83a
Compare
Choose a tag to compare

Add the include option to only polyfill the specified modules. Thanks @leticiavna for the PR!