Skip to content

Configuring the transformPageData method, the console output the wrong document file is incorrect #3696

Open
@muyaCode

Description

@muyaCode

Describe the bug

My document project, packaging error:

vitepress v1.0.1

x Build failed in 25.03s
✖ building client + server bundles...
build error:
SyntaxError: Invalid end tag.

Under the config.js file, follow the documentation: https://vitepress.dev/zh/reference/site-config#transformpagedata, add the transformPageData method, as a result, the console print document is not correct.

And each time you repackage, the console outputs a different error document

Uploading 1711309593420.jpg…

I wrote too many documents too long, packaging, an error, can not find the wrong document

Reproduction

git clone https://github.com/muyaCode/FrontEndLearnNotes.git

Expected behavior

Can debug output error files correctly

System Info

Windows 11 Home Chinese Version

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions