You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,16 @@
1
+
## 2.0.0 (2023-06-20)
2
+
3
+
**Break**. This will be a completely new version.
4
+
5
+
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](https://vitejs.dev/guide/dep-pre-bundling.html#dependency-pre-bundling).
6
+
Thanks to [Erick Zhao](https://github.com/erickzhao) for the inspiration.
7
+
8
+
- Supports Electron/Node
9
+
- Compatible [Electron Forge](https://github.com/electron/forge) and [
10
+
Electron⚡️Vite](https://github.com/electron-vite)
11
+
12
+
#### [How to work](https://github.com/vite-plugin/vite-plugin-native/blob/v2.0.0/README.md#how-to-work)
0 commit comments