Skip to content

feat: generate static json file in output dir #1080

@jlaffaye

Description

@jlaffaye

Clear and concise description of the problem

I want to compare the value from ~build/time to the last version build time (hosted as a static file on the server).
I need the exact same value from unplugin-info, so I can not just get the time myself and use vite-plugin-generate-file.

Unless there is a way to use the virtual module in vite.config.ts that Im not aware of ?

Suggested solution

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions