Skip to content

Directive on subdirectories are deleted #298

@yboyer

Description

@yboyer

Reproduction link or steps

https://stackblitz.com/edit/github-2u2wsjl8

What is expected?

I want my function MyPage to have the 'use client' directive on unbundle or bundle mode.

What is actually happening?

My function no longer has the 'use client' directive.

Any additional comments?

Seems to work on the main index.ts file but deleted on others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions