Remove unnecessary folder nesting.
This commit is contained in:
parent
43e7d1d2cc
commit
f9825394a7
@ -23,7 +23,7 @@
|
|||||||
"compiler"
|
"compiler"
|
||||||
],
|
],
|
||||||
"browser": {
|
"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.js": "./lib/transform-file-browser.js",
|
||||||
"./lib/transform-file-sync.js": "./lib/transform-file-sync-browser.js"
|
"./lib/transform-file-sync.js": "./lib/transform-file-sync-browser.js"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -20,7 +20,7 @@ import {
|
|||||||
findBabelignore,
|
findBabelignore,
|
||||||
loadConfig,
|
loadConfig,
|
||||||
type ConfigFile,
|
type ConfigFile,
|
||||||
} from "./loading/files";
|
} from "./files";
|
||||||
|
|
||||||
import { makeWeakCache, makeStrongCache } from "./caching";
|
import { makeWeakCache, makeStrongCache } from "./caching";
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import path from "path";
|
|||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import json5 from "json5";
|
import json5 from "json5";
|
||||||
import resolve from "resolve";
|
import resolve from "resolve";
|
||||||
import { makeStrongCache, type CacheConfigurator } from "../../caching";
|
import { makeStrongCache, type CacheConfigurator } from "../caching";
|
||||||
|
|
||||||
const debug = buildDebug("babel:config:loading:files:configuration");
|
const debug = buildDebug("babel:config:loading:files:configuration");
|
||||||
|
|
||||||
@ -4,7 +4,7 @@ export { default as File } from "./transformation/file/file";
|
|||||||
export {
|
export {
|
||||||
default as buildExternalHelpers,
|
default as buildExternalHelpers,
|
||||||
} from "./tools/build-external-helpers";
|
} from "./tools/build-external-helpers";
|
||||||
export { resolvePlugin, resolvePreset } from "./config/loading/files";
|
export { resolvePlugin, resolvePreset } from "./config/files";
|
||||||
|
|
||||||
export { version } from "../package.json";
|
export { version } from "../package.json";
|
||||||
export { getEnv } from "./config/helpers/environment";
|
export { getEnv } from "./config/helpers/environment";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user