From 85d82152c6265a53f8a0590120d0545aea03cdf2 Mon Sep 17 00:00:00 2001 From: Brian Ng Date: Wed, 18 Oct 2017 09:54:51 -0500 Subject: [PATCH] Update scope pkg ref in nullish syntax README [skip ci] --- .../babel-plugin-syntax-nullish-coalescing-operator/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-plugin-syntax-nullish-coalescing-operator/README.md b/packages/babel-plugin-syntax-nullish-coalescing-operator/README.md index 20c90cd5be..f5869088d3 100644 --- a/packages/babel-plugin-syntax-nullish-coalescing-operator/README.md +++ b/packages/babel-plugin-syntax-nullish-coalescing-operator/README.md @@ -29,7 +29,7 @@ babel --plugins syntax-nullish-coalescing-operator script.js ### Via Node API ```javascript -require("babel-core").transform("code", { +require("@babel/core").transform("code", { plugins: ["syntax-nullish-coalescing-operator"] }); ```