Skip to content

Commit

Permalink
docs: improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
s3xysteak committed Nov 28, 2024
1 parent a7cc47d commit 7c94447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default defineConfig({
Then you can import on demand through ESM.

> [!TIP]
> You can improve the behavior of cache in production environments by vite option `build.rollupOptions.output.manualChunks`.
> When `iife: false`, you can improve the behavior of cache in production environments by vite option `build.rollupOptions.output.manualChunks`.
>
> For example `cesium: ['cesium']`.
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default defineConfig({
这样就可以通过 ESM 来按需引入。

> [!TIP]
> 你可以通过 vite选项 `build.rollupOptions.output.manualChunks` 以改进生产环境下的缓存表现。
> `iife: false` 时,你可以通过 vite选项 `build.rollupOptions.output.manualChunks` 以改进生产环境下的缓存表现。
>
> `cesium: ['cesium']`
Expand Down

0 comments on commit 7c94447

Please sign in to comment.