-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
bug: pending triageMaybe a bug, waiting for confirmationMaybe a bug, waiting for confirmation
Description
Describe the bug
all auto import components in dev mode is ok.
all auto import components in build mode is ok, when there have no 'script' tag in md files
if md file have 'script' tag of one page. the page's auto import component will not resolve in build mode!!!!
Reproduction
it's an empty vitepress project.
Expected behavior
System Info
System:
OS: Windows 11 10.0.22631
CPU: (28) x64 Intel(R) Core(TM) i7-14700KF
Memory: 15.99 GB / 31.82 GB
Binaries:
Node: 20.17.0 - D:\Program Files\nodejs\node.EXE
npm: 10.8.2 - D:\Program Files\nodejs\npm.CMD
pnpm: 9.8.0 - D:\Program Files\nodejs\pnpm.CMD
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.22621.3527
npmPackages:
vitepress: ^1.6.3 => 1.6.3
Additional context
No response
Validations
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
bug: pending triageMaybe a bug, waiting for confirmationMaybe a bug, waiting for confirmation