Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vizhub-core/buble-jsx-only
Bublé with JSX Only
https://github.com/vizhub-core/buble-jsx-only
Last synced: 4 months ago
JSON representation
Bublé with JSX Only
- Host: GitHub
- URL: https://github.com/vizhub-core/buble-jsx-only
- Owner: vizhub-core
- License: mit
- Fork: true (bublejs/buble)
- Created: 2019-08-10T08:27:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T17:20:14.000Z (almost 3 years ago)
- Last Synced: 2024-08-12T19:02:00.276Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.47 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Bublé JSX Only
A fork of [Bublé](https://github.com/bublejs/buble) that only transforms JSX.
Why? To transpile JSX in the browser, using a Rollup plugin, with a minimal footprint. Bublé itself does an excellent job of this, however its bundle size is rather large. Most of the library deals with ES6 transformations, which we don't need. The premise of this library is to remove all that unnecessary code, so we end up with a minimal library that does JSX transformations.
How? Forked Bublé (as of July 2021), removed all tests except those for JSX, and used [Istanbul](https://istanbul.js.org/) to detect which code was not covered by the tests. Manually removed each piece of code not required for JSX transforms.
Details:
* [Bublé issue: JSX Only?](https://github.com/bublejs/buble/issues/213)
* [Pull Request with the changes](https://github.com/datavis-tech/buble-jsx-only/pull/3)