UNPKG

899 BPlain TextView Raw
1type indexBrowserType = typeof import("./index-browser");
2type indexType = typeof import("./index");
3
4// Kind of gross, but essentially asserting that the exports of this module are the same as the
5// exports of index-browser, since this file may be replaced at bundle time with index-browser.
6({} as any as indexBrowserType as indexType);
7
8export { findPackageData } from "./package";
9
10export {
11 findConfigUpwards,
12 findRelativeConfig,
13 findRootConfig,
14 loadConfig,
15 resolveShowConfigPath,
16 ROOT_CONFIG_FILENAMES,
17} from "./configuration";
18export type {
19 ConfigFile,
20 IgnoreFile,
21 RelativeConfig,
22 FilePackageData,
23} from "./types";
24export { loadPlugin, loadPreset } from "./plugins";
25
26import gensync from "gensync";
27import * as plugins from "./plugins";
28
29export const resolvePlugin = gensync(plugins.resolvePlugin).sync;
30export const resolvePreset = gensync(plugins.resolvePreset).sync;