Skip to content

sourcemap in Vite dev mode with pnpm is incorrect #294

@agileago

Description

@agileago

What happens and why it is wrong

Environment

as a vite plugin to develop

Versions

latest

repo: clone https://github.com/agileago/vue3-oop

pnpm install
pnpm run dev

you will see count.service.ts sourcemap is not right and can't breakpoint . but when you change vite.config.ts to use @rollup/plugin-typescript . it is ok. because @rollup/plugin-typescript is too slow. by the way. because i use decorator so i need typescript compile not esbuild

Metadata

Metadata

Assignees

No one assigned

    Labels

    problem: needs more infoThis issue needs more information in order to handle itproblem: removed issue templateOP removed the issue template without good causeproblem: staleIssue has not been responded to in some timescope: ViteRelated to integration with Vite, not Rollup, which this plugin was designed forscope: integrationRelated to an integration, not necessarily to core (but could influence core)solution: unresolvedIssue has been closed by OP but root cause has not necessarily been resolved

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions