developit / developit/htm

small demo

オープン
#28 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
documentation
主要言語
JavaScript
スター
9k
フォーク
181
PR マージ指標
30日以内にマージされた PR はありません

説明

put up a demo I was using to check out features, feel free to use any of it if you want
https://github.com/jeremy-coleman/preactive-htm

it has both rollup and webpack builds with babel and without.

I added rollup because i wanted to look over the non-minified bundled code and noticed that the babel plugin wasn't working, I assume because of .mjs extension - might be worth noting in the readme or something. probably a lot of pepople dont know if you use resolve.extensions in your webpack config it resets all the defaults (to exclude mjs) it's also required to manually add to rollup inside the babel plugin.
if u want to see the difference just change the rollup config from: babel({extensions: [".ts", ".tsx", ".js", ".jsx", ".mjs"]}), to: babel(). Gonna explore a bit more with a real app

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Review the linked preactive-htm demo, especially its Rollup and Webpack configurations, and compare the Babel plugin behavior with and without the listed .mjs extension. Check the project README for existing build guidance; the issue is complete only when the intended .mjs handling and any needed documentation are clearly established.

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

評価

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

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

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