rollup 2.75.7 → 2.77.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +57 -0
- package/README.md +1 -3
- package/dist/bin/rollup +18 -18
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +77 -59
- package/dist/es/shared/watch.js +4 -2
- package/dist/loadConfigFile.js +6 -6
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.d.ts +6 -0
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +17 -8
- package/dist/shared/mergeOptions.js +4 -2
- package/dist/shared/rollup.js +76 -58
- package/dist/shared/watch-cli.js +17 -17
- package/dist/shared/watch.js +2 -2
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 2.77.1
|
|
4
|
+
|
|
5
|
+
_2022-07-26_
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Ensure IIFE output generates a global variable when generating ES5 (#4588)
|
|
10
|
+
|
|
11
|
+
### Pull Requests
|
|
12
|
+
|
|
13
|
+
- [#4577](https://github.com/rollup/rollup/pull/4577): broken link removed (@Jawad-H)
|
|
14
|
+
- [#4580](https://github.com/rollup/rollup/pull/4580): Update dependencies (@lukastaegert)
|
|
15
|
+
- [#4584](https://github.com/rollup/rollup/pull/4584): Documentation clarity and syntax improvements (@berniegp)
|
|
16
|
+
- [#4588](https://github.com/rollup/rollup/pull/4588): Use var for IIFE (@lukastaegert)
|
|
17
|
+
|
|
18
|
+
## 2.77.0
|
|
19
|
+
|
|
20
|
+
_2022-07-15_
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
- Introduce `maxParallelFileOps` to limit both read and write operations, default to 20 and replaces `maxParallelFileRead` (#4570)
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
- Avoid including variables referenced from return statements that are never reached (#4573)
|
|
29
|
+
|
|
30
|
+
### Pull Requests
|
|
31
|
+
|
|
32
|
+
- [#4570](https://github.com/rollup/rollup/pull/4570): Introduce maxParallelFileOps to limit parallel writes (@lukastaegert)
|
|
33
|
+
- [#4572](https://github.com/rollup/rollup/pull/4572): Document more ways to read package.json in ESM (@berniegp)
|
|
34
|
+
- [#4573](https://github.com/rollup/rollup/pull/4573): Do not include unused return expressions (@lukastaegert)
|
|
35
|
+
|
|
36
|
+
## 2.76.0
|
|
37
|
+
|
|
38
|
+
_2022-07-08_
|
|
39
|
+
|
|
40
|
+
### Features
|
|
41
|
+
|
|
42
|
+
- Allow setting a `sourcmapBaseUrl` for absolute paths in sourcemaps (#4527)
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
- Support absolute CLI plugin paths on Windows (#4533)
|
|
47
|
+
|
|
48
|
+
### Pull Requests
|
|
49
|
+
|
|
50
|
+
- [#4527](https://github.com/rollup/rollup/pull/4527): Add sourcemapBaseUrl option (@nickgarlis)
|
|
51
|
+
- [#4533](https://github.com/rollup/rollup/pull/4533): Add support for absolute plugin paths (@ygoe)
|
|
52
|
+
- [#4538](https://github.com/rollup/rollup/pull/4538): chore: Included githubactions in the dependabot config (@naveensrinivasan)
|
|
53
|
+
- [#4546](https://github.com/rollup/rollup/pull/4546): Adapt Node versions on CI to prepare for v3 (@lukastaegert)
|
|
54
|
+
- [#4556](https://github.com/rollup/rollup/pull/4556): Improve error message for invalid patterns (@DysphoricUnicorn)
|
|
55
|
+
- [#4559](https://github.com/rollup/rollup/pull/4559): Update dependencies (@lukastaegert)
|
|
56
|
+
- [#4560](https://github.com/rollup/rollup/pull/4560): Bump peter-evans/create-or-update-comment from 1 to 2 (@dependabot)
|
|
57
|
+
- [#4561](https://github.com/rollup/rollup/pull/4561): Bump peter-evans/find-comment from 1 to 2 (@dependabot)
|
|
58
|
+
- [#4562](https://github.com/rollup/rollup/pull/4562): Bump codecov/codecov-action from 1 to 3 (@dependabot)
|
|
59
|
+
|
|
3
60
|
## 2.75.7
|
|
4
61
|
|
|
5
62
|
_2022-06-20_
|
package/README.md
CHANGED
|
@@ -21,9 +21,7 @@
|
|
|
21
21
|
<a href="https://github.com/rollup/rollup/blob/master/LICENSE.md">
|
|
22
22
|
<img src="https://img.shields.io/npm/l/rollup.svg" alt="license">
|
|
23
23
|
</a>
|
|
24
|
-
|
|
25
|
-
<img src="https://david-dm.org/rollup/rollup/status.svg" alt="dependency status">
|
|
26
|
-
</a>
|
|
24
|
+
|
|
27
25
|
<a href='https://is.gd/rollup_chat?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge'>
|
|
28
26
|
<img src='https://img.shields.io/discord/466787075518365708?color=778cd1&label=chat' alt='Join the chat at https://is.gd/rollup_chat'>
|
|
29
27
|
</a>
|
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v2.
|
|
6
|
-
|
|
5
|
+
Rollup.js v2.77.1
|
|
6
|
+
Tue, 26 Jul 2022 08:02:21 GMT - commit 3be1609e95cf81046bb325b3e3c1cb23a7e972b7
|
|
7
7
|
|
|
8
8
|
https://github.com/rollup/rollup
|
|
9
9
|
|
|
@@ -19,14 +19,14 @@ const require$$2 = require('util');
|
|
|
19
19
|
const require$$0$1 = require('fs');
|
|
20
20
|
const require$$0 = require('path');
|
|
21
21
|
const mergeOptions = require('../shared/mergeOptions.js');
|
|
22
|
-
const
|
|
22
|
+
const loadConfigFile_js = require('../shared/loadConfigFile.js');
|
|
23
23
|
require('perf_hooks');
|
|
24
24
|
require('crypto');
|
|
25
25
|
require('events');
|
|
26
26
|
require('url');
|
|
27
27
|
require('tty');
|
|
28
28
|
|
|
29
|
-
const help = "rollup version __VERSION__\n=====================================\n\nUsage: rollup [options] <entry file>\n\nBasic options:\n\n-c, --config <filename> Use this config file (if argument is used but value\n is unspecified, defaults to rollup.config.js)\n-d, --dir <dirname> Directory for chunks (if absent, prints to stdout)\n-e, --external <ids> Comma-separate list of module IDs to exclude\n-f, --format <format> Type of output (amd, cjs, es, iife, umd, system)\n-g, --globals <pairs> Comma-separate list of `moduleID:Global` pairs\n-h, --help Show this help message\n-i, --input <filename> Input (alternative to <entry file>)\n-m, --sourcemap Generate sourcemap (`-m inline` for inline map)\n-n, --name <name> Name for UMD export\n-o, --file <output> Single output file (if absent, prints to stdout)\n-p, --plugin <plugin> Use the plugin specified (may be repeated)\n-v, --version Show version number\n-w, --watch Watch files in bundle and rebuild on changes\n--amd.id <id> ID for AMD module (default is anonymous)\n--amd.autoId Generate the AMD ID based off the chunk name\n--amd.basePath <prefix> Path to prepend to auto generated AMD ID\n--amd.define <name> Function to use in place of `define`\n--assetFileNames <pattern> Name pattern for emitted assets\n--banner <text> Code to insert at top of bundle (outside wrapper)\n--chunkFileNames <pattern> Name pattern for emitted secondary chunks\n--compact Minify wrapper code\n--context <variable> Specify top-level `this` value\n--entryFileNames <pattern> Name pattern for emitted entry chunks\n--environment <values> Settings passed to config file (see example)\n--no-esModule Do not add __esModule property\n--exports <mode> Specify export mode (auto, default, named, none)\n--extend Extend global variable defined by --name\n--no-externalLiveBindings Do not generate code to support live bindings\n--failAfterWarnings Exit with an error if the build produced warnings\n--footer <text> Code to insert at end of bundle (outside wrapper)\n--no-freeze Do not freeze namespace objects\n--no-hoistTransitiveImports Do not hoist transitive imports into entry chunks\n--no-indent Don't indent result\n--no-interop Do not include interop block\n--inlineDynamicImports Create single bundle when using dynamic imports\n--intro <text> Code to insert at top of bundle (inside wrapper)\n--minifyInternalExports Force or disable minification of internal exports\n--namespaceToStringTag Create proper `.toString` methods for namespaces\n--noConflict Generate a noConflict method for UMD globals\n--outro <text> Code to insert at end of bundle (inside wrapper)\n--preferConst Use `const` instead of `var` for exports\n--no-preserveEntrySignatures Avoid facade chunks for entry points\n--preserveModules Preserve module structure\n--preserveModulesRoot Put preserved modules under this path at root level\n--preserveSymlinks Do not follow symlinks when resolving files\n--no-sanitizeFileName Do not replace invalid characters in file names\n--shimMissingExports Create shim variables for missing exports\n--silent Don't print warnings\n--sourcemapExcludeSources Do not include source code in source maps\n--sourcemapFile <file> Specify bundle position for source maps\n--stdin=ext Specify file extension used for stdin input\n--no-stdin Do not read \"-\" from stdin\n--no-strict Don't emit `\"use strict\";` in the generated modules\n--strictDeprecations Throw errors for deprecated features\n--systemNullSetters Replace empty SystemJS setters with `null`\n--no-treeshake Disable tree-shaking optimisations\n--no-treeshake.annotations Ignore pure call annotations\n--no-treeshake.moduleSideEffects Assume modules have no side-effects\n--no-treeshake.propertyReadSideEffects Ignore property access side-effects\n--no-treeshake.tryCatchDeoptimization Do not turn off try-catch-tree-shaking\n--no-treeshake.unknownGlobalSideEffects Assume unknown globals do not throw\n--waitForBundleInput Wait for bundle input files\n--watch.buildDelay <number> Throttle watch rebuilds\n--no-watch.clearScreen Do not clear the screen when rebuilding\n--watch.skipWrite Do not write files to disk when watching\n--watch.exclude <files> Exclude files from being watched\n--watch.include <files> Limit watching to specified files\n--watch.onStart <cmd> Shell command to run on `\"START\"` event\n--watch.onBundleStart <cmd> Shell command to run on `\"BUNDLE_START\"` event\n--watch.onBundleEnd <cmd> Shell command to run on `\"BUNDLE_END\"` event\n--watch.onEnd <cmd> Shell command to run on `\"END\"` event\n--watch.onError <cmd> Shell command to run on `\"ERROR\"` event\n--validate Validate output\n\nExamples:\n\n# use settings in config file\nrollup -c\n\n# in config file, process.env.INCLUDE_DEPS === 'true'\n# and process.env.BUILD === 'production'\nrollup -c --environment INCLUDE_DEPS,BUILD:production\n\n# create CommonJS bundle.js from src/main.js\nrollup --format=cjs --file=bundle.js -- src/main.js\n\n# create self-executing IIFE using `window.jQuery`\n# and `window._` as external globals\nrollup -f iife --globals jquery:jQuery,lodash:_ \\\n -i src/app.js -o build/app.js -m build/app.js.map\n\nNotes:\n\n* When piping to stdout, only inline sourcemaps are permitted\n\nFor more information visit https://rollupjs.org\n";
|
|
29
|
+
const help = "rollup version __VERSION__\n=====================================\n\nUsage: rollup [options] <entry file>\n\nBasic options:\n\n-c, --config <filename> Use this config file (if argument is used but value\n is unspecified, defaults to rollup.config.js)\n-d, --dir <dirname> Directory for chunks (if absent, prints to stdout)\n-e, --external <ids> Comma-separate list of module IDs to exclude\n-f, --format <format> Type of output (amd, cjs, es, iife, umd, system)\n-g, --globals <pairs> Comma-separate list of `moduleID:Global` pairs\n-h, --help Show this help message\n-i, --input <filename> Input (alternative to <entry file>)\n-m, --sourcemap Generate sourcemap (`-m inline` for inline map)\n-n, --name <name> Name for UMD export\n-o, --file <output> Single output file (if absent, prints to stdout)\n-p, --plugin <plugin> Use the plugin specified (may be repeated)\n-v, --version Show version number\n-w, --watch Watch files in bundle and rebuild on changes\n--amd.id <id> ID for AMD module (default is anonymous)\n--amd.autoId Generate the AMD ID based off the chunk name\n--amd.basePath <prefix> Path to prepend to auto generated AMD ID\n--amd.define <name> Function to use in place of `define`\n--assetFileNames <pattern> Name pattern for emitted assets\n--banner <text> Code to insert at top of bundle (outside wrapper)\n--chunkFileNames <pattern> Name pattern for emitted secondary chunks\n--compact Minify wrapper code\n--context <variable> Specify top-level `this` value\n--entryFileNames <pattern> Name pattern for emitted entry chunks\n--environment <values> Settings passed to config file (see example)\n--no-esModule Do not add __esModule property\n--exports <mode> Specify export mode (auto, default, named, none)\n--extend Extend global variable defined by --name\n--no-externalLiveBindings Do not generate code to support live bindings\n--failAfterWarnings Exit with an error if the build produced warnings\n--footer <text> Code to insert at end of bundle (outside wrapper)\n--no-freeze Do not freeze namespace objects\n--no-hoistTransitiveImports Do not hoist transitive imports into entry chunks\n--no-indent Don't indent result\n--no-interop Do not include interop block\n--inlineDynamicImports Create single bundle when using dynamic imports\n--intro <text> Code to insert at top of bundle (inside wrapper)\n--minifyInternalExports Force or disable minification of internal exports\n--namespaceToStringTag Create proper `.toString` methods for namespaces\n--noConflict Generate a noConflict method for UMD globals\n--outro <text> Code to insert at end of bundle (inside wrapper)\n--preferConst Use `const` instead of `var` for exports\n--no-preserveEntrySignatures Avoid facade chunks for entry points\n--preserveModules Preserve module structure\n--preserveModulesRoot Put preserved modules under this path at root level\n--preserveSymlinks Do not follow symlinks when resolving files\n--no-sanitizeFileName Do not replace invalid characters in file names\n--shimMissingExports Create shim variables for missing exports\n--silent Don't print warnings\n--sourcemapBaseUrl <url> Emit absolute sourcemap URLs with given base\n--sourcemapExcludeSources Do not include source code in source maps\n--sourcemapFile <file> Specify bundle position for source maps\n--stdin=ext Specify file extension used for stdin input\n--no-stdin Do not read \"-\" from stdin\n--no-strict Don't emit `\"use strict\";` in the generated modules\n--strictDeprecations Throw errors for deprecated features\n--systemNullSetters Replace empty SystemJS setters with `null`\n--no-treeshake Disable tree-shaking optimisations\n--no-treeshake.annotations Ignore pure call annotations\n--no-treeshake.moduleSideEffects Assume modules have no side-effects\n--no-treeshake.propertyReadSideEffects Ignore property access side-effects\n--no-treeshake.tryCatchDeoptimization Do not turn off try-catch-tree-shaking\n--no-treeshake.unknownGlobalSideEffects Assume unknown globals do not throw\n--waitForBundleInput Wait for bundle input files\n--watch.buildDelay <number> Throttle watch rebuilds\n--no-watch.clearScreen Do not clear the screen when rebuilding\n--watch.skipWrite Do not write files to disk when watching\n--watch.exclude <files> Exclude files from being watched\n--watch.include <files> Limit watching to specified files\n--watch.onStart <cmd> Shell command to run on `\"START\"` event\n--watch.onBundleStart <cmd> Shell command to run on `\"BUNDLE_START\"` event\n--watch.onBundleEnd <cmd> Shell command to run on `\"BUNDLE_END\"` event\n--watch.onEnd <cmd> Shell command to run on `\"END\"` event\n--watch.onError <cmd> Shell command to run on `\"ERROR\"` event\n--validate Validate output\n\nExamples:\n\n# use settings in config file\nrollup -c\n\n# in config file, process.env.INCLUDE_DEPS === 'true'\n# and process.env.BUILD === 'production'\nrollup -c --environment INCLUDE_DEPS,BUILD:production\n\n# create CommonJS bundle.js from src/main.js\nrollup --format=cjs --file=bundle.js -- src/main.js\n\n# create self-executing IIFE using `window.jQuery`\n# and `window._` as external globals\nrollup -f iife --globals jquery:jQuery,lodash:_ \\\n -i src/app.js -o build/app.js -m build/app.js.map\n\nNotes:\n\n* When piping to stdout, only inline sourcemaps are permitted\n\nFor more information visit https://rollupjs.org\n";
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
@@ -1501,7 +1501,7 @@ const prettyBytes$1 = prettyBytes;
|
|
|
1501
1501
|
|
|
1502
1502
|
function printTimings(timings) {
|
|
1503
1503
|
Object.entries(timings).forEach(([label, [time, memory, total]]) => {
|
|
1504
|
-
const appliedColor = label[0] === '#' ? (label[1] !== '#' ?
|
|
1504
|
+
const appliedColor = label[0] === '#' ? (label[1] !== '#' ? loadConfigFile_js.underline : loadConfigFile_js.bold) : (text) => text;
|
|
1505
1505
|
const row = `${label}: ${time.toFixed(0)}ms, ${prettyBytes$1(memory)} / ${prettyBytes$1(total)}`;
|
|
1506
1506
|
console.info(appliedColor(row));
|
|
1507
1507
|
});
|
|
@@ -1523,13 +1523,13 @@ async function build(inputOptions, warnings, silent = false) {
|
|
|
1523
1523
|
else if (typeof inputOptions.input === 'object' && inputOptions.input !== null) {
|
|
1524
1524
|
inputFiles = Object.values(inputOptions.input).join(', ');
|
|
1525
1525
|
}
|
|
1526
|
-
|
|
1526
|
+
loadConfigFile_js.stderr(loadConfigFile_js.cyan(`\n${loadConfigFile_js.bold(inputFiles)} → ${loadConfigFile_js.bold(files.join(', '))}...`));
|
|
1527
1527
|
}
|
|
1528
1528
|
const bundle = await rollup.rollup(inputOptions);
|
|
1529
1529
|
if (useStdout) {
|
|
1530
1530
|
const output = outputOptions[0];
|
|
1531
1531
|
if (output.sourcemap && output.sourcemap !== 'inline') {
|
|
1532
|
-
|
|
1532
|
+
loadConfigFile_js.handleError({
|
|
1533
1533
|
code: 'ONLY_INLINE_SOURCEMAPS',
|
|
1534
1534
|
message: 'Only inline sourcemaps are supported when bundling to stdout.'
|
|
1535
1535
|
});
|
|
@@ -1547,7 +1547,7 @@ async function build(inputOptions, warnings, silent = false) {
|
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
1549
|
if (outputs.length > 1)
|
|
1550
|
-
process$1.stdout.write(`\n${
|
|
1550
|
+
process$1.stdout.write(`\n${loadConfigFile_js.cyan(loadConfigFile_js.bold(`//→ ${file.fileName}:`))}\n`);
|
|
1551
1551
|
process$1.stdout.write(source);
|
|
1552
1552
|
}
|
|
1553
1553
|
if (!silent) {
|
|
@@ -1559,7 +1559,7 @@ async function build(inputOptions, warnings, silent = false) {
|
|
|
1559
1559
|
await bundle.close();
|
|
1560
1560
|
if (!silent) {
|
|
1561
1561
|
warnings.flush();
|
|
1562
|
-
|
|
1562
|
+
loadConfigFile_js.stderr(loadConfigFile_js.green(`created ${loadConfigFile_js.bold(files.join(', '))} in ${loadConfigFile_js.bold(ms(Date.now() - start))}`));
|
|
1563
1563
|
if (bundle && bundle.getTimings) {
|
|
1564
1564
|
printTimings(bundle.getTimings());
|
|
1565
1565
|
}
|
|
@@ -1582,7 +1582,7 @@ async function getConfigPath(commandConfig) {
|
|
|
1582
1582
|
}
|
|
1583
1583
|
catch (err) {
|
|
1584
1584
|
if (err.code === 'MODULE_NOT_FOUND') {
|
|
1585
|
-
|
|
1585
|
+
loadConfigFile_js.handleError({
|
|
1586
1586
|
code: 'MISSING_EXTERNAL_CONFIG',
|
|
1587
1587
|
message: `Could not resolve config file "${commandConfig}"`
|
|
1588
1588
|
});
|
|
@@ -1604,12 +1604,12 @@ async function findConfigFileNameInCwd() {
|
|
|
1604
1604
|
}
|
|
1605
1605
|
|
|
1606
1606
|
async function loadConfigFromCommand(command) {
|
|
1607
|
-
const warnings =
|
|
1607
|
+
const warnings = loadConfigFile_js.batchWarnings();
|
|
1608
1608
|
if (!command.input && (command.stdin || !process$1.stdin.isTTY)) {
|
|
1609
|
-
command.input =
|
|
1609
|
+
command.input = loadConfigFile_js.stdinName;
|
|
1610
1610
|
}
|
|
1611
1611
|
const options = mergeOptions.mergeOptions({ input: [] }, command, warnings.add);
|
|
1612
|
-
await
|
|
1612
|
+
await loadConfigFile_js.addCommandPluginsToInputOptions(options, command);
|
|
1613
1613
|
return { options: [options], warnings };
|
|
1614
1614
|
}
|
|
1615
1615
|
|
|
@@ -1617,7 +1617,7 @@ async function runRollup(command) {
|
|
|
1617
1617
|
let inputSource;
|
|
1618
1618
|
if (command._.length > 0) {
|
|
1619
1619
|
if (command.input) {
|
|
1620
|
-
|
|
1620
|
+
loadConfigFile_js.handleError({
|
|
1621
1621
|
code: 'DUPLICATE_IMPORT_OPTIONS',
|
|
1622
1622
|
message: 'Either use --input, or pass input path as argument'
|
|
1623
1623
|
});
|
|
@@ -1669,7 +1669,7 @@ async function runRollup(command) {
|
|
|
1669
1669
|
}
|
|
1670
1670
|
if (command.failAfterWarnings && warnings.warningOccurred) {
|
|
1671
1671
|
warnings.flush();
|
|
1672
|
-
|
|
1672
|
+
loadConfigFile_js.handleError({
|
|
1673
1673
|
code: 'FAIL_AFTER_WARNINGS',
|
|
1674
1674
|
message: 'Warnings occurred and --failAfterWarnings flag present'
|
|
1675
1675
|
});
|
|
@@ -1677,18 +1677,18 @@ async function runRollup(command) {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
catch (err) {
|
|
1679
1679
|
warnings.flush();
|
|
1680
|
-
|
|
1680
|
+
loadConfigFile_js.handleError(err);
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
1683
1683
|
catch (err) {
|
|
1684
|
-
|
|
1684
|
+
loadConfigFile_js.handleError(err);
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|
|
1688
1688
|
async function getConfigs(command) {
|
|
1689
1689
|
if (command.config) {
|
|
1690
1690
|
const configFile = await getConfigPath(command.config);
|
|
1691
|
-
const { options, warnings } = await
|
|
1691
|
+
const { options, warnings } = await loadConfigFile_js.loadAndParseConfigFile(configFile, command);
|
|
1692
1692
|
return { options, warnings };
|
|
1693
1693
|
}
|
|
1694
1694
|
return await loadConfigFromCommand(command);
|