1 | import * as builtinHandlers from './handlers/index.js';
|
2 | import parse from './parse.js';
|
3 | import * as builtinResolvers from './resolver/index.js';
|
4 | import { fsImporter, ignoreImporter, makeFsImporter, } from './importer/index.js';
|
5 | import * as utils from './utils/index.js';
|
6 | import { createConfig, defaultHandlers } from './config.js';
|
7 | import { ERROR_CODES } from './error.js';
|
8 | const builtinImporters = {
|
9 | fsImporter,
|
10 | ignoreImporter,
|
11 | };
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | function defaultParse(src, config = {}) {
|
25 | const defaultConfig = createConfig(config);
|
26 | return parse(String(src), defaultConfig);
|
27 | }
|
28 | export { builtinHandlers, builtinResolvers, builtinImporters, defaultHandlers, makeFsImporter, defaultParse as parse, utils, ERROR_CODES, };
|