Scoped: updated numerous docs with scoped packages change [skip ci]

This commit is contained in:
Mateusz Burzyński
2017-10-17 00:28:03 +02:00
committed by Henry Zhu
parent 919bdf5e79
commit 859ea4b175
35 changed files with 80 additions and 87 deletions

View File

@@ -106,7 +106,7 @@ const readConfigJS = makeStrongCache((filepath, cache) => {
return null;
}
// The `require()` call below can make this code reentrant if a require hook like babel-register has been
// The `require()` call below can make this code reentrant if a require hook like @babel/register has been
// loaded into the system. That would cause Babel to attempt to compile the `.babelrc.js` file as it loads
// below. To cover this case, we auto-ignore re-entrant config processing.
if (LOADING_CONFIGS.has(filepath)) {

View File

@@ -25,9 +25,6 @@ export default {
message:
"use the `pragma` option in the `react-jsx` plugin . Check out http://babeljs.io/docs/plugins/transform-react-jsx/",
},
// "keepModuleIdExtensions": {
// "message": ""
// },
loose: {
message:
"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option.",

View File

@@ -39,8 +39,8 @@ export { default as transformFile } from "./transform-file";
export { default as transformFileSync } from "./transform-file-sync";
/**
* Recommended set of compilable extensions. Not used in babel-core directly, but meant as
* as an easy source for tooling making use of babel-core.
* Recommended set of compilable extensions. Not used in @babel/core directly, but meant as
* as an easy source for tooling making use of @babel/core.
*/
export const DEFAULT_EXTENSIONS = Object.freeze([
".js",

View File

@@ -9,7 +9,7 @@ let LOADED_PLUGIN: Plugin | void;
export default function loadBlockHoistPlugin(): Plugin {
if (!LOADED_PLUGIN) {
// Lazy-init the internal plugin to remove the init-time circular
// dependency between plugins being passed babel-core's export object,
// dependency between plugins being passed @babel/core's export object,
// which loads this file, and this 'loadConfig' loading plugins.
const config = loadConfig({
babelrc: false,