rollup 4.0.0-4 → 4.0.0-6
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/dist/bin/rollup +3 -9
- package/dist/es/getLogFilter.js +2 -3
- package/dist/es/rollup.js +3 -3
- package/dist/es/shared/node-entry.js +20798 -20833
- package/dist/es/shared/watch.js +4 -46
- package/dist/getLogFilter.js +2 -3
- package/dist/loadConfigFile.js +3 -3
- package/dist/rollup.d.ts +5 -4
- package/dist/rollup.js +3 -3
- package/dist/shared/fsevents-importer.js +2 -3
- package/dist/shared/index.js +2 -42
- package/dist/shared/loadConfigFile.js +2 -7
- package/dist/shared/rollup.js +19797 -19830
- package/dist/shared/watch-cli.js +22 -20
- package/dist/shared/watch-proxy.js +2 -4
- package/dist/shared/watch.js +3 -5
- package/package.json +41 -36
- package/dist/es/native.js +0 -257
- package/dist/native.js +0 -257
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v4.0.0-
|
|
6
|
-
|
|
5
|
+
Rollup.js v4.0.0-6
|
|
6
|
+
Sun, 20 Aug 2023 07:51:04 GMT - commit 39e7492a12eca9107c929d533c16608c9a0054be
|
|
7
7
|
|
|
8
8
|
https://github.com/rollup/rollup
|
|
9
9
|
|
|
@@ -25,7 +25,7 @@ const loadConfigFile_js = require('../shared/loadConfigFile.js');
|
|
|
25
25
|
require('tty');
|
|
26
26
|
require('node:perf_hooks');
|
|
27
27
|
require('node:crypto');
|
|
28
|
-
require('../native');
|
|
28
|
+
require('../native.cjs');
|
|
29
29
|
require('node:url');
|
|
30
30
|
require('../getLogFilter.js');
|
|
31
31
|
|
|
@@ -1520,7 +1520,6 @@ function printTimings(timings) {
|
|
|
1520
1520
|
console.info(appliedColor(row));
|
|
1521
1521
|
}
|
|
1522
1522
|
}
|
|
1523
|
-
//# sourceMappingURL=timings.js.map
|
|
1524
1523
|
|
|
1525
1524
|
async function build(inputOptions, warnings, silent = false) {
|
|
1526
1525
|
const outputOptions = inputOptions.output;
|
|
@@ -1567,7 +1566,6 @@ async function build(inputOptions, warnings, silent = false) {
|
|
|
1567
1566
|
}
|
|
1568
1567
|
}
|
|
1569
1568
|
}
|
|
1570
|
-
//# sourceMappingURL=build.js.map
|
|
1571
1569
|
|
|
1572
1570
|
const DEFAULT_CONFIG_BASE = 'rollup.config';
|
|
1573
1571
|
async function getConfigPath(commandConfig) {
|
|
@@ -1604,7 +1602,6 @@ async function findConfigFileNameInCwd() {
|
|
|
1604
1602
|
}
|
|
1605
1603
|
return `${DEFAULT_CONFIG_BASE}.js`;
|
|
1606
1604
|
}
|
|
1607
|
-
//# sourceMappingURL=getConfigPath.js.map
|
|
1608
1605
|
|
|
1609
1606
|
async function loadConfigFromCommand(commandOptions, watchMode) {
|
|
1610
1607
|
const warnings = loadConfigFile_js.batchWarnings(commandOptions);
|
|
@@ -1615,7 +1612,6 @@ async function loadConfigFromCommand(commandOptions, watchMode) {
|
|
|
1615
1612
|
await loadConfigFile_js.addCommandPluginsToInputOptions(options, commandOptions);
|
|
1616
1613
|
return { options: [options], warnings };
|
|
1617
1614
|
}
|
|
1618
|
-
//# sourceMappingURL=loadConfigFromCommand.js.map
|
|
1619
1615
|
|
|
1620
1616
|
async function runRollup(command) {
|
|
1621
1617
|
let inputSource;
|
|
@@ -1691,7 +1687,6 @@ async function getConfigs(command) {
|
|
|
1691
1687
|
}
|
|
1692
1688
|
return await loadConfigFromCommand(command, false);
|
|
1693
1689
|
}
|
|
1694
|
-
//# sourceMappingURL=index.js.map
|
|
1695
1690
|
|
|
1696
1691
|
const command = argParser(process$1.argv.slice(2), {
|
|
1697
1692
|
alias: rollup.commandAliases,
|
|
@@ -1713,7 +1708,6 @@ else {
|
|
|
1713
1708
|
}
|
|
1714
1709
|
runRollup(command);
|
|
1715
1710
|
}
|
|
1716
|
-
//# sourceMappingURL=cli.js.map
|
|
1717
1711
|
|
|
1718
1712
|
exports.getConfigPath = getConfigPath;
|
|
1719
1713
|
exports.loadConfigFromCommand = loadConfigFromCommand;
|
package/dist/es/getLogFilter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.0.0-
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.0.0-6
|
|
4
|
+
Sun, 20 Aug 2023 07:51:04 GMT - commit 39e7492a12eca9107c929d533c16608c9a0054be
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -60,6 +60,5 @@ const testFilter = (log, key, parts) => {
|
|
|
60
60
|
}
|
|
61
61
|
return value.endsWith(parts[lastPartIndex]);
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=getLogFilter.js.map
|
|
64
63
|
|
|
65
64
|
export { getLogFilter };
|
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.0.0-
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.0.0-6
|
|
4
|
+
Sun, 20 Aug 2023 07:51:04 GMT - commit 39e7492a12eca9107c929d533c16608c9a0054be
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -13,6 +13,6 @@ import 'path';
|
|
|
13
13
|
import 'node:process';
|
|
14
14
|
import 'node:perf_hooks';
|
|
15
15
|
import 'node:crypto';
|
|
16
|
-
import '../native';
|
|
16
|
+
import '../native.cjs';
|
|
17
17
|
import 'node:fs/promises';
|
|
18
18
|
import 'tty';
|