napi-rs/.eslintignore
Caleb Everett 95dd6ef485
refactor(cli): refactor js-binding to support easier bundling. (#1957)
* Refactor js-binding to support bundling single-package artifacts

The existsSync check breaks the bundlers I've tested (esbuild, webpack,
ncc), so you cannot bundle napi-rs packages that have all binarys in a
single package.

I've tested this change with both single package and multi package
libraries.

* Update snapshots

* Update CI

* Fix electron test

---------

Co-authored-by: Caleb ツ Everett <calebev@amazon.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-02-26 15:46:07 +08:00

22 lines
312 B
Text

node_modules
dist
lib
esm
next
coverage
output
static
temp
.nyc_output
*.d.ts
__mock__
target
scripts
triples/index.js
rollup.config.js
crates/cli/index.js
examples/napi/index.d.*
examples/napi/index.wasi.mjs
examples/napi/index.wasi-browser.js
examples/napi/wasi-worker.mjs
examples/napi/wasi-worker-browser.js