Babel

Here are 7,351 public repositories matching this topic...
-
Updated
Jul 5, 2021 - JavaScript
-
Updated
Aug 3, 2021 - TypeScript
-
Updated
Aug 18, 2021 - JavaScript
-
Updated
Aug 19, 2021 - TypeScript
-
Updated
Jun 29, 2021 - JavaScript
-
Updated
Aug 10, 2021 - JavaScript
Expected Behavior
defaultMode
is used in Grommet component along with themeMode
prop to determine initial theme mode between dark and light themes. As this property is used by Grommet Theme Designer, Grommet HPE Theme and in HPE Design System I would expect it to
For the most part this just works, but functions within tagged markup get weird indent assertions, e.g.,
${collection.map((item) => {
const { prop1, prop2 } = workWith(item); // eslint: expected indentation of 4 but found 10 (indent)
return html` // eslint: expected indentation of 4 but found 10 (indent)
<${Widget} prop1=${prop1} prop2=${prop2} />
Babel Macro
-
Updated
Apr 30, 2021 - JavaScript
-
Updated
Aug 6, 2021 - JavaScript
-
Updated
Aug 18, 2021 - 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
Aug 16, 2021 - JavaScript
-
Updated
Jun 4, 2021 - TypeScript
-
Updated
Aug 13, 2021 - JavaScript
-
Updated
Aug 18, 2021 - JavaScript
-
Updated
Jul 15, 2020 - JavaScript
-
Updated
May 24, 2021 - JavaScript
Created by Sebastian McKenzie, James Kyle, Henry Zhu, Logan Smyth, Daniel Tschinder
Released September 28, 2014
- Organization
- babel
- Website
- babeljs.io
How are you using Babel?
@babel/cli
Input code
[repl](https://babeljs.io/repl#?browsers=&build=&builtIns=false&corejs=3.6&spec=false&loose=false&code_lz=HYUw7gBAxgNghgZwREAPALiYATZtHIDeAvhIQFATQD2wC6ATgK5TrUMAUAlGZVRAiYAHEJy4BuPlQYh