You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially, presets were supposed to be one-off sets of plugins that didn't have any configuration. If you wanted to do something different you would make your own presets. There are [> 600 presets](https://www.npmjs.com/search?q=babel-preset-) on npm now. We want to give users more flexibility in certain cases: like when you want to pass the same option to multiple presets or to remove a default plugin.
2101
+
Initially, presets were supposed to be one-off sets of plugins that didn't have any configuration. If you wanted to do something different you would make your own presets. There are [> 600 presets](https://npmx.dev/search?q=babel-preset) on npm now. We want to give users more flexibility in certain cases: like when you want to pass the same option to multiple presets or to remove a default plugin.
2102
2102
2103
2103
### `loose` and `modules` options for `babel-preset-es2015` ([#3331](https://github.com/babel/babel/pull/3331), [#3627](https://github.com/babel/babel/pull/3627))
<ahref="https://github.com/babel/babel/actions/workflows/ci.yml"><imgalt="GitHub CI Status"src="https://github.com/babel/babel/actions/workflows/ci.yml/badge.svg?branch=main"></a>
<ahref="https://github.com/babel/babel/actions/workflows/ci.yml"><imgalt="GitHub CI Status"src="https://github.com/babel/babel/actions/workflows/ci.yml/badge.svg?branch=main"></a>
<ahref="https://twitter.com/intent/follow?screen_name=babeljs"><imgalt="Follow on Twitter"src="https://img.shields.io/twitter/follow/babeljs.svg?style=social&label=Follow"></a>
[`@babel/core`](/packages/babel-core) is the Babel compiler itself; it exposes the `babel.transform` method, where `transformedCode = transform(src).code`.
22
22
@@ -36,13 +36,13 @@ Check out the [`babel-handbook`](https://github.com/thejameskyle/babel-handbook/
-[`@babel/cli`](/packages/babel-cli) is the CLI tool that runs `@babel/core` and helps with outputting to a directory, a file, stdout and more (also includes `@babel/node` cli). Check out the [docs](https://babeljs.io/docs/usage/cli/).
48
48
-[`@babel/types`](/packages/babel-types) is used to validate, build and change AST nodes.
@@ -60,15 +60,15 @@ The transformer[s] used in Babel are the independent pieces of code that transfo
60
60
61
61
| Package | Version | Description |
62
62
|---------|---------|-------------|
63
-
|[`@babel/preset-env`](/packages/babel-preset-env)|[](https://www.npmjs.com/package/@babel/preset-env)| automatically determines plugins and polyfills you need based on your supported environments |
63
+
|[`@babel/preset-env`](/packages/babel-preset-env)|[](https://npmx.dev/package/@babel/preset-env)| automatically determines plugins and polyfills you need based on your supported environments |
64
64
65
-
> You can find community maintained presets on [npm](https://www.npmjs.com/search?q=babel-preset)
65
+
> You can find community maintained presets on [npm](https://npmx.dev/search?q=babel-preset)
66
66
67
67
### [Plugins](http://babeljs.io/docs/plugins)
68
68
69
69
Plugins are the heart of Babel and what make it work.
70
70
71
-
> You can find community plugins on [npm](https://www.npmjs.com/search?q=babel-plugin).
71
+
> You can find community plugins on [npm](https://npmx.dev/search?q=babel-plugin).
0 commit comments