Compiler not published as ESM?

未关闭
#179 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
typescript
领域
compilers

调研方向

首先检查已发布的 [email protected] dist/compiler.js package 以及相关的 solid-playground issue #174,然后复现此处描述的浏览器导入行为。确定 compiler package 是否提供可用的 ESM 入口;当预期的浏览器使用方式明确且已发布的 package 能够相应工作时,即视为完成。

由索引模型根据 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 分钟
30 天内合并 PR
6

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

solidjs/solid-playground 的其他 Issue

查看 solidjs/solid-playground 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。