Predecessor: #88
The import-based tree-shaking isn't fully effective as we provide Backlog class for now.
So I suggest a new way that we provide functions instead of the class.
// Current
import Backlog from "backlog-js";
const backlog = new Backlog(/* ... */);
const issue = await backlog.getIssue(/* ... */);
// Proposed
import { getIssue } from "backlog-js";
const issue = await getIssue(/* ... */);
Note: Backlog class should be remained for backward compatibility.
Predecessor: #88
The
import-based tree-shaking isn't fully effective as we provideBacklogclass for now.So I suggest a new way that we provide functions instead of the class.
Note:
Backlogclass should be remained for backward compatibility.