From 08a539a42eb6c0d51d1e83913ba40088cd27e641 Mon Sep 17 00:00:00 2001 From: Adam Leskis Date: Sun, 16 Jan 2022 23:35:42 +0000 Subject: [PATCH] update link to point to main instead of master --- translations/en/plugin-handbook.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/translations/en/plugin-handbook.md b/translations/en/plugin-handbook.md index 112a8ebb..975fa739 100644 --- a/translations/en/plugin-handbook.md +++ b/translations/en/plugin-handbook.md @@ -1061,7 +1061,7 @@ t.assertBinaryExpression(maybeBinaryExpressionNode, { operator: "*" }); > [WIP] -## [`babel-generator`](https://github.com/babel/babel/tree/master/packages/babel-generator) +## [`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. @@ -1103,7 +1103,7 @@ generate(ast, { }, code); ``` -## [`babel-template`](https://github.com/babel/babel/tree/master/packages/babel-template) +## [`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 @@ -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) {