Skip to content

Multi part library #2420

@VdustR

Description

@VdustR

Thanks for the wonderful CLI first!

What problem does this feature solve?

I'm trying to build libraries with @vue/cli. I wanna know if it's possible to build a multi part library that can import sub-library directly like import subLib from 'my-lib/sub-lib' ?

For now I can only build single file library with common and umd by using --target lib.

What does the proposed API look like?

Maybe determine this from webpack entry?

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