Skip to content

Can't resolve source module for error code frame within monorepo #42

Description

@saiichihashimoto

https://github.com/preactjs/vite-prerender-plugin/blob/master/src/plugins/prerender-plugin.js#L403

The line where it's removing an arbitrary amount of "../" doesn't work in a monorepo, because anything in my monorepo's root node_modules becomes inaccessible. Not sure what the fix is, I'm assuming removing the "../" is fixing some other issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions