create-next-imagicma 0.0.12 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next-imagicma",
3
- "version": "0.0.12",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-next-imagicma": "./bin/create-next-imagicma.mjs"
@@ -26,7 +26,7 @@ pnpm install
26
26
  pnpm dev
27
27
  ```
28
28
 
29
- 默认端口由 `/.imagicma/port.json` 锁定(模板默认 `5001`)。
29
+ 默认端口由 `/.imagicma/port.json`。
30
30
  请勿直接执行 `vite` 启动,必须使用 `pnpm dev`。
31
31
 
32
32
  ## 构建与运行
@@ -90,6 +90,7 @@ export default defineConfig(async ({ command }) => {
90
90
  port: lockedPort,
91
91
  allowedHosts: ["localhost", "127.0.0.1", ".preview.imagicma.cn"],
92
92
  strictPort: true,
93
+ hmr: { overlay: false },
93
94
  },
94
95
  plugins: [
95
96
  react(),