- da22d3e fix: relative path calc on Windows #13
- 548fedb fix: avoid Vite built-in alias
- 64b881a feat: add
options.forceCopyIfUnbuilt
- 7c60957 feat: add
options.ignore
- 867f085 test: v2.1.0
- 931ff60 feat: support auto detect native modules
- 2ac2913 chore: remove useless files
- af3128f feat: natives cache reuse
- 8fcc3e9 chore: add comments
- 39c1355 fix: filename typo
- f80f4c9 feat(test): add
better-sqlite3
- 1716007 fix: reserve
.Interop.mjs
for build-watch mode
Break. This will be a completely new version.
Due to the bundling format of Vite (Rollup), it is not suitable to build a pure js module. It happens that a C/C++ native module can only be a cjs module. So this new version will use Webpack for pre-bundle. It behaves really similar to Vite's own Dependency Pre-Bundling. Thanks to Erick Zhao for the inspiration.
- Supports Electron/Node
- Compatible Electron Forge and Electron⚡️Vite
- 8127327 feat: support
node-bindings
- 2edcb31 refactor: better logic
- bd3e000 log: update
- 71028d7 feat(test): support
serialport
- 7fd4b46 feat: support
node-gyp-build
, e.g.serialport
- b27844d feat(test): support
sqlite3
- 1f0c43f refactor(0.1.0-beta.1): re-design API
- 9c58b4f v0.1.0
- 009edec Initial commit