Skip to content

use solid-refresh and solid-devtools babel plugins together? #78

@tmm1

Description

@tmm1

i'm using @solid-devtools/overlay in a project along with solid-refresh

i noticed in the overlay the props/signals/memos are missing names, which can be solved by injecting solid-devtools/babel's namePlugin into the build pipeline. using this plugin also adds graphs of the reactive relationships between components.

https://github.com/thetarnav/solid-devtools/blob/a9c23a428d5639bf138ac2f5793fc57b8eef9136/packages/main/src/babel/babel.ts#L115-L116

however when I use both the devtools and refresh plugin together, the auto names disappear. are these plugins expected to be able to work together?

i tried putting the devtools namePlugin before and after the solid-refresh one.

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