Skip to content

Commit

Permalink
Merge pull request #72 from electron-vite/v0.14.4
Browse files Browse the repository at this point in the history
V0.14.4
  • Loading branch information
caoxiemeihao authored May 20, 2023
2 parents 7512da3 + ea0ccce commit 8d062d5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.14.4 (2023-05-21)

- fe221ec fix: move `lib-esm` to devDependencies | closes [electron-vite-react#149](https://github.com/electron-vite/electron-vite-react/issues/149)

## 0.14.3 (2023-05-20)

- 6901413 chore: bump deps
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite-plugin-electron-renderer",
"version": "0.14.3",
"version": "0.14.4",
"description": "Support use Node.js API in Electron-Renderer",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand All @@ -25,12 +25,10 @@
"prepublishOnly": "npm run build && npm run test",
"test": "vitest run"
},
"dependencies": {
"lib-esm": "~0.4.0"
},
"devDependencies": {
"electron": "^24.3.1",
"esbuild": "^0.17.19",
"lib-esm": "^0.4.0",
"node-fetch": "^3.3.1",
"rollup": "^3.22.0",
"serialport": "^11.0.0",
Expand Down
9 changes: 4 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineConfig({
'vite',
...builtinModules,
...builtinModules.map(m => `node:${m}`),
...Object.keys(pkg.dependencies),
...Object.keys('dependencies' in pkg ? pkg.dependencies as object : {}),
],
output: {
exports: 'named',
Expand Down

0 comments on commit 8d062d5

Please sign in to comment.