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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions