Consider shipping fewer bundles
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- build-system, release
調査の方向性
Start with package.json lines 39-71 and inspect which sources, bundles, and source maps are included in the published npm package. Compare the ESM and CommonJS outputs, then decide which artifacts can be removed while preserving the supported package formats. Done means a smaller published package with faster installs and no unnecessary duplicate bundles or source maps.
索引モデルが issue の本文から書いたものです。
説明
Currently the following is in the published npm package:
- sources
- ES module bundle
- browser bundle
- CommonJS bundle
- browser CommonJS bundle
On top of this source maps exist for each bundle.
maybe im missing something, but it seems we're now at the point where these are equivalent:
- ES module / browser
- CommonJS / browser CommonJS
The sources probably don't need to be published, and the sourcemaps are likely unused too (who is debugging fontkit in their node modules?).
Can we greatly simplify this to where we either ship ESM-only, or at least only the ESM/CJS bundles and no sourcemaps?
The gain here would be faster installs, and smaller install size.
- 主要言語
- JavaScript
- スター
- 1.7k
- フォーク
- 254
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
foliojs/fontkit のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
Vertical phantom points have the wrong sign対応中かも @lehni が 15 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
foliojs/fontkit#382 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
foliojs/fontkit#368 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
foliojs/fontkit の issue をすべて見る
似ている issue
-
channels:edit check:passed
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
lidofinance/docs#1033 ·
メンテナーはふだん 1 日以内に返信