Skip to content

Add support for export { sth } from 'lib' case #1383

@cyndra0

Description

@cyndra0

I'm trying to pack a subset of antd using this plugin with rollup, and here's my code in the entry:

export { Button } from 'antd'

and no css file is emitted. I have to change my code as below to make it work :

import { Button } from 'antd'
export { Button }

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