1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.ROOT_CONFIG_FILENAMES = void 0;
|
7 | exports.findConfigUpwards = findConfigUpwards;
|
8 | exports.findPackageData = findPackageData;
|
9 | exports.findRelativeConfig = findRelativeConfig;
|
10 | exports.findRootConfig = findRootConfig;
|
11 | exports.loadConfig = loadConfig;
|
12 | exports.loadPlugin = loadPlugin;
|
13 | exports.loadPreset = loadPreset;
|
14 | exports.resolvePlugin = resolvePlugin;
|
15 | exports.resolvePreset = resolvePreset;
|
16 | exports.resolveShowConfigPath = resolveShowConfigPath;
|
17 |
|
18 | function findConfigUpwards(rootDir) {
|
19 | return null;
|
20 | }
|
21 |
|
22 | function* findPackageData(filepath) {
|
23 | return {
|
24 | filepath,
|
25 | directories: [],
|
26 | pkg: null,
|
27 | isPackage: false
|
28 | };
|
29 | }
|
30 |
|
31 | function* findRelativeConfig(pkgData, envName, caller) {
|
32 | return {
|
33 | config: null,
|
34 | ignore: null
|
35 | };
|
36 | }
|
37 |
|
38 | function* findRootConfig(dirname, envName, caller) {
|
39 | return null;
|
40 | }
|
41 |
|
42 | function* loadConfig(name, dirname, envName, caller) {
|
43 | throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`);
|
44 | }
|
45 |
|
46 | function* resolveShowConfigPath(dirname) {
|
47 | return null;
|
48 | }
|
49 |
|
50 | const ROOT_CONFIG_FILENAMES = [];
|
51 | exports.ROOT_CONFIG_FILENAMES = ROOT_CONFIG_FILENAMES;
|
52 |
|
53 | function resolvePlugin(name, dirname) {
|
54 | return null;
|
55 | }
|
56 |
|
57 | function resolvePreset(name, dirname) {
|
58 | return null;
|
59 | }
|
60 |
|
61 | function loadPlugin(name, dirname) {
|
62 | throw new Error(`Cannot load plugin ${name} relative to ${dirname} in a browser`);
|
63 | }
|
64 |
|
65 | function loadPreset(name, dirname) {
|
66 | throw new Error(`Cannot load preset ${name} relative to ${dirname} in a browser`);
|
67 | } |
\ | No newline at end of file |