-
-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
Version
System:
OS: Linux 5.15 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
Memory: 1.52 GB / 9.72 GB
Container: Yes
Shell: 5.2.21 - /bin/bash
npmPackages:
@rspress/core: 2.0.0-beta.31 => 2.0.0-beta.31
@rspress/plugin-preview: 2.0.0-beta.31 => 2.0.0-beta.31
Details
Before every build, the temp dir(node_modules/.rspress/
default) will be delete, and the @rspress/plugin-preview should generate components in node_modules/.rspress/virtual-demo/
. Howerver, the persistent cache lead @rspress/plugin-preview not regenerate components in node_modules/.rspress/virtual-demo/
, the incremental build will throw error like:
× Module not found: Can't resolve 'XX/node_modules/.rspress/virtual-demo/_market_index_1.tsx' in 'XX/docs/market'
Reproduce link
https://codesandbox.io/p/devbox/plugin-preview-not-rerender-jxvk3m
Reproduce Steps
- run
npm run build
- run
npm run build
again
Metadata
Metadata
Assignees
Labels
No labels