Skip to content

Commit 36a69f7

Browse files
committed
fix: update logseq-dev-plugin
1 parent 0d69a50 commit 36a69f7

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"semantic-release": "19.0.2",
3333
"typescript": "4.6.2",
3434
"vite": "2.8.6",
35-
"vite-plugin-logseq": "^1.0.0",
35+
"vite-plugin-logseq": "^1.0.1",
3636
"vite-plugin-windicss": "1.8.3",
3737
"windicss": "3.5.1"
3838
},

readme.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@
22

33
## Features
44

5-
- plug & play boilerplate
6-
- develop with HMR, empowered by lightning fast Vite ⚡
5+
- plug & play boilerplate with properly defined GitHub action defaults
6+
- develop with HMR, empowered by lightning fast Vite ⚡ with [vite-logseq-plugin](https://github.com/pengx17/vite-plugin-logseq)
77
- windicss for styling
88
- pnpm
9-
10-
### How React HMR works?
11-
See vite.config.ts. There is a custom plugin that will write a dev only index.html.
12-
The index.html will
13-
14-
- change its base to `http://${config.server.host}:${config.server.port}`
15-
- attach `/@vite/client` (allows error overlay and connect HMR ws)
16-
- register react-refresh preamble code

0 commit comments

Comments
 (0)