Babel
Here are 7,182 public repositories matching this topic...
-
Updated
Jan 12, 2021 - JavaScript
-
Updated
Jun 4, 2021 - TypeScript
-
Updated
Jun 6, 2021 - JavaScript
-
Updated
Jun 5, 2021 - JavaScript
-
Updated
May 12, 2021 - JavaScript
-
Updated
Jun 6, 2021 - TypeScript
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
May 19, 2021 - JavaScript
-
Updated
Apr 30, 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
Jun 6, 2021 - JavaScript
-
Updated
Jun 6, 2021 - JavaScript
-
Updated
Jun 4, 2021 - TypeScript
-
Updated
May 27, 2021 - JavaScript
-
Updated
Oct 10, 2020 - 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?
Programmatic API (
babel.transform,babel.parse)Input code
While scanning the recent esbuild commits, I noticed evanw/esbuild@f66b586. Essentially, Tagged Template Literals are a special form of function invocation, and we need to preserve the
thisrec