You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The change itself is simple; you just need to modify import { BaseClient } from '../../clients'; to import { BaseClient } from '../../clients/baseClient';.
You can see it here:
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.
The text was updated successfully, but these errors were encountered: