From 65a7ea6d8588e6fd19aa9bfe8195a281b76a93f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Sun, 23 May 2021 11:13:49 +0800 Subject: [PATCH] chore: UPDATE --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3258cb..f333617 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ## Note - In the development environment, we need to transform the `Electron` related API into commonjs - And you can only use ESM -- So far, I've written an `esm2cjs` plugin +- So far, I've written an [vitejs-plugin-electron](https://github.com/caoxiemeihao/vitejs-plugins/tree/main/electron) plugin ```ts import { ipcRenderer } from 'electron' import Store from 'electron-store' @@ -25,7 +25,7 @@ - 开发模式下 Electron 相关的 API 需要转换成 commonjs - 并且你只能用 ESM -- 为此我写了一个 `esm2cjs` 插件 +- 为此我写了一个 [vitejs-plugin-electron](https://github.com/caoxiemeihao/vitejs-plugins/tree/main/electron) 插件 ## electron-vue-vite-webpack - If you are afraid of stepping on the pit, you can consider using this project