Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update links to point to main instead of master #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions translations/en/plugin-handbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ t.assertBinaryExpression(maybeBinaryExpressionNode, { operator: "*" });

> [WIP]

## <a id="toc-babel-generator"></a>[`babel-generator`](https://github.com/babel/babel/tree/master/packages/babel-generator)
## <a id="toc-babel-generator"></a>[`babel-generator`](https://github.com/babel/babel/tree/main/packages/babel-generator)

Babel Generator is the code generator for Babel. It takes an AST and turns it
into code with sourcemaps.
Expand Down Expand Up @@ -1103,7 +1103,7 @@ generate(ast, {
}, code);
```

## <a id="toc-babel-template"></a>[`babel-template`](https://github.com/babel/babel/tree/master/packages/babel-template)
## <a id="toc-babel-template"></a>[`babel-template`](https://github.com/babel/babel/tree/main/packages/babel-template)

Babel Template is another tiny but incredibly useful module. It allows you to
write strings of code with placeholders that you can use instead of manually
Expand Down Expand Up @@ -1140,7 +1140,7 @@ var myModule = require("my-module");
Now that you're familiar with all the basics of Babel, let's tie it together
with the plugin API.

Start off with a `function` that gets passed the current [`babel`](https://github.com/babel/babel/tree/master/packages/babel-core) object.
Start off with a `function` that gets passed the current [`babel`](https://github.com/babel/babel/tree/main/packages/babel-core) object.

```js
export default function(babel) {
Expand Down