Babel

Here are 6,625 public repositories matching this topic...
-
Updated
Oct 20, 2019 - JavaScript
-
Updated
Oct 3, 2020 - JavaScript
-
Updated
Oct 19, 2020 - JavaScript
-
Updated
Oct 11, 2020 - TypeScript
-
Updated
Sep 7, 2020 - JavaScript
-
Updated
Jun 12, 2020 - JavaScript
-
Updated
Oct 20, 2020 - Rust
Add weight
property to the Anchor component, similar to how Text has it.
This is an ask from the CCS team.
Babel Macro
It would be nice to have a babel macro that automatically runs the babel plugin to remove the runtime. That way, this project would work out of the box with "zero" config tools like create-react-app.
I'm thinking it could be something like:
import {html} from 'htm/preact/macro'
This is similar conceptually to CSS-IN-JS libraries providing a macro for their tools. See https://e
-
Updated
Sep 16, 2020 - JavaScript
-
Updated
Aug 17, 2020 - JavaScript
Validate the entire tree of options passed to preset.
Maybe, each plugin can export a list of options that only babili preset understands and we can validate them only when using the preset and not when using the plugin separately.
module.exports = function plugin() {};
module.exports.options = PropTypes.object({
n: PropTypes.number
});
Or, this can be implemented in bab
-
Updated
Oct 19, 2020 - JavaScript
-
Updated
Sep 9, 2020 - JavaScript
-
Updated
Oct 8, 2020 - TypeScript
-
Updated
Oct 10, 2020 - JavaScript
-
Updated
Jul 15, 2020 - JavaScript
-
Updated
Aug 5, 2020 - JavaScript
-
Updated
Nov 3, 2017 - JavaScript
Created by Sebastian McKenzie, James Kyle, Henry Zhu, Logan Smyth, Daniel Tschinder
Released September 28, 2014
- Organization
- babel
- Website
- babeljs.io
Since we are now only building Babel on Node.js 14 (even if we still test it on Node.js 6), we can use native ECMAScript modules for the build scripts:
There are a bunch of scripts/tests in the
scripts
folder: they can probably all be rewritten to ES modules.We can probably add
"type": "module"
to the top