Babel
Here are 7,880 public repositories matching this topic...
-
Updated
Jul 5, 2021 - JavaScript
It would be great if you could try to use the same/compatible dependency version across the swc crates, for example:
[[package]]
name = "swc_cached"
version = "0.1.1"
dependencies = [
...
"dashmap 5.2.0",
]
[[package]]
name = "swc_ecma_loader"
version = "0.29.0"
dependencies = [
...
"dashmap 4.0.2",
]
[[package]]
name = "swc_ecma_transforms_react"
version = "0.100-
Updated
Apr 10, 2022 - TypeScript
-
Updated
Apr 10, 2022 - JavaScript
-
Updated
Apr 7, 2022 - TypeScript
-
Updated
Jan 14, 2022 - JavaScript
-
Updated
Mar 15, 2022 - 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 8, 2022 - JavaScript
-
Updated
Apr 4, 2022 - JavaScript
-
Updated
Apr 30, 2021 - JavaScript
-
Updated
Apr 9, 2022 - 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
Mar 29, 2022 - JavaScript
-
Updated
Feb 28, 2022 - JavaScript
-
Updated
Aug 18, 2021 - JavaScript
-
Updated
Jul 15, 2020 - JavaScript
in my old project , using webpack 1.x. And I use esbuild-loader replace babel-loader will print error
` building for production.../Users/wanglihui/WebstoreProject/onionfph5/project/node_modules/esbuild-loader/dist/plugin.js:12
compiler.hooks.thisCompilation.tap('esbuild', compilation => {
^
TypeError: Cannot read property 'thisCompilation' of undefined
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-loader (webpack)
Input code
https://babeljs.io/repl#?browsers=defaults&build=&builtIns=false&corejs=3.6&spec=false&loose=false&code_lz=C4TwDgpgBAYgrgOwMYHUCWwAWARCBnJAJzTGDQHsEoBeKAbQCgooAzRJMygLigAoA