Skip to content

Enable Importing Specific Clients Without Pulling in Dependencies for All Clients #320

Closed
@orisano

Description

@orisano

Dear jira.js maintainers,

First of all, thank you for your hard work on this project. I am currently using the jira.js library in my server-side application. There are four types of clients available: AgileClient, Version2Client, Version3Client, and ServiceDeskClient.

However, I would like to import only the specific client I need. For instance, when I try to import the Version3Client using import { Version3Client } from "jira.js/out/version3/client";, it results in dependencies on all clients from "jira.js/out/clients/index.ts". While tree-shaking could resolve this, I am not using a bundler in my simple server-side program.

Could you please provide a way to import only the specific client needed without pulling in dependencies for all clients? Any guidance or suggestions would be greatly appreciated.

Thank you again for your assistance and for maintaining this useful library.

Metadata

Metadata

Assignees

Labels

bugIndicates a reported issue or malfunction that needs fixing.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions