Skip to content

Commit 646eaa6

Browse files
committed
docs(electron-renderer): link
1 parent 14684ba commit 646eaa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/electron-renderer/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ Pre-bundling: got
154154

155155
**In general**, Vite may not correctly build Node.js packages, especially Node.js C/C++ native modules, but Vite can load them as external packages.
156156
Unless you know how to properly build them with Vite.
157-
[See example]()
157+
[See example](https://github.com/electron-vite/vite-plugin-electron/blob/14684ba108beec305edf4c9d8865527f6508f987/examples/nodeIntegration/vite.config.ts#L17-L26)
158158

159159
**By the way**. If an npm package is a pure ESM format package, and the packages it depends on are also in ESM format, then put it in `optimizeDeps.exclude` and it will work normally.
160-
[See an explanation of it]().
160+
[See an explanation of it](https://github.com/electron-vite/vite-plugin-electron/blob/14684ba108beec305edf4c9d8865527f6508f987/examples/nodeIntegration/vite.config.ts#L36-L39).
161161

162162
## `dependencies` vs `devDependencies`
163163

0 commit comments

Comments
 (0)