Skip to content

Make swagger-ui usable as an npm dependency #931

@rbelouin

Description

@rbelouin

Hi all,

Is there a good reason for not defining dist/swagger-ui.js as the main file in package.json?

I would like to use Swagger UI in an existing project, and I don't understand why I should copy all swagger static files (and dependencies) into this project manually. I'd like to browserify all that stuff, and it does not seem possible currently.

Is it something you are planning to do? Should I submit a PR?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions