Skip to content

doc: fixes ESM/CJS wrapper example

Rodrigo Muino Tomonari requested to merge github/fork/fox1t/master into master

This PR updates ESM wrapper example to prevent package maintainers to broke packages after copy-pasting.

Ref: https://github.com/nodejs/node/issues/34714

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading