Compiler not published as ESM?

オープン
#179 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript
領域
compilers

調査の方向性

まず公開されている [email protected] dist/compiler.js パッケージと、関連する solid-playground の issue #174 を調査し、次にここで説明されているブラウザーでの import 動作を再現してください。compiler パッケージが利用可能な ESM エントリを公開しているかどうかを確認してください。完了条件は、想定されるブラウザーでの利用方法が明確になり、公開パッケージがそれに応じて動作することです。

索引モデルが issue の本文から書いたものです。

説明

Just noticed this as I was poking around
image

image

How is this meant to be used in a browser, since browsers don't support commonjs?

might be related to https://github.com/solidjs/solid-playground/issues/174

thanks!!

tho, maybe I don't know what's going on here -- esm.sh thinks there are exports

image

Searching through https://esm.sh/v135/[email protected]/es2022/dist/compiler.js
it's kind of hard to see what is actually exported, since so much content is in strings 😅

(turns out esm.sh is a better source viewer than npm haha)

主要言語
TypeScript
スター
246
フォーク
71
平均マージ
5分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

solidjs/solid-playground のほかの issue

solidjs/solid-playground の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。