File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
babel-plugin-transform-jsx-to-htm Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ It uses standard JavaScript [Tagged Templates] and works in [all modern browsers
1919
2020⚛️ ** < 500 bytes** when used with Preact _ (thanks gzip 🌈)_
2121
22- 🥚 ** < 400 byte** ` htm/mini ` version
22+ 🥚 ** < 420 byte** ` htm/mini ` version
2323
2424🏅 ** 0 bytes** if compiled using [ babel-plugin-htm]
2525
@@ -45,6 +45,7 @@ Here's some ergonomic features you get for free that aren't present in JSX:
4545- Component end-tags: ` <${Footer}>footer content<//> `
4646- Syntax highlighting and language support via the [ lit-html VSCode extension] and [ vim-jsx-pretty plugin] .
4747- Multiple root element (fragments): ` <div /><div /> `
48+ - Support for HTML-style comments: ` <div><!-- comment --></div> `
4849
4950## Installation
5051
Original file line number Diff line number Diff line change 11{
22 "name" : " htm" ,
3- "version" : " 2.1.1 " ,
3+ "version" : " 2.2.0 " ,
44 "description" : " The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax." ,
55 "main" : " dist/htm.js" ,
66 "umd:main" : " dist/htm.umd.js" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " babel-plugin-htm" ,
3- "version" : " 2.1 .0" ,
3+ "version" : " 2.2 .0" ,
44 "description" : " Babel plugin to compile htm's Tagged Template syntax to hyperscript or inline VNodes." ,
55 "main" : " dist/babel-plugin-htm.js" ,
66 "module" : " dist/babel-plugin-htm.mjs" ,
3333 "license" : " Apache-2.0" ,
3434 "homepage" : " https://github.com/developit/htm/tree/master/packages/babel-plugin-htm" ,
3535 "dependencies" : {
36- "htm" : " ^2.0 .0"
36+ "htm" : " ^2.2 .0"
3737 },
3838 "devDependencies" : {
3939 "microbundle" : " ^0.10.1"
Original file line number Diff line number Diff line change 11{
22 "name" : " babel-plugin-transform-jsx-to-htm" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 1.1 .0" ,
44 "description" : " Babel plugin to compile JSX to Tagged Templates." ,
55 "main" : " dist/babel-plugin-transform-jsx-to-htm.js" ,
66 "scripts" : {
3232 "homepage" : " https://github.com/developit/htm/tree/master/packages/babel-plugin-transform-jsx-to-htm" ,
3333 "dependencies" : {
3434 "@babel/plugin-syntax-jsx" : " ^7.2.0" ,
35- "htm" : " ^2.0 .0"
35+ "htm" : " ^2.2 .0"
3636 },
3737 "devDependencies" : {
3838 "microbundle" : " ^0.10.1"
You can’t perform that action at this time.
0 commit comments