developit / developit/htm

small demo

Aperta
#28 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
documentation
Lingua principale
JavaScript
Stelle
9k
Fork
181
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.