Remove unnecessary folder nesting.

This commit is contained in:
Logan Smyth 2017-12-21 13:56:47 -08:00
parent 43e7d1d2cc
commit f9825394a7
7 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
"compiler"
],
"browser": {
"./lib/config/loading/files/index.js": "./lib/config/loading/files/index-browser.js",
"./lib/config/files/index.js": "./lib/config/files/index-browser.js",
"./lib/transform-file.js": "./lib/transform-file-browser.js",
"./lib/transform-file-sync.js": "./lib/transform-file-sync-browser.js"
},

View File

@ -20,7 +20,7 @@ import {
findBabelignore,
loadConfig,
type ConfigFile,
} from "./loading/files";
} from "./files";
import { makeWeakCache, makeStrongCache } from "./caching";

View File

@ -5,7 +5,7 @@ import path from "path";
import fs from "fs";
import json5 from "json5";
import resolve from "resolve";
import { makeStrongCache, type CacheConfigurator } from "../../caching";
import { makeStrongCache, type CacheConfigurator } from "../caching";
const debug = buildDebug("babel:config:loading:files:configuration");

View File

@ -4,7 +4,7 @@ export { default as File } from "./transformation/file/file";
export {
default as buildExternalHelpers,
} from "./tools/build-external-helpers";
export { resolvePlugin, resolvePreset } from "./config/loading/files";
export { resolvePlugin, resolvePreset } from "./config/files";
export { version } from "../package.json";
export { getEnv } from "./config/helpers/environment";