rollup 2.53.3 → 2.56.0
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 +51 -0
- package/dist/bin/rollup +15 -8
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +183 -155
- package/dist/es/shared/watch.js +10 -6
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +7 -5
- package/dist/shared/loadConfigFile.js +8 -4
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +183 -155
- package/dist/shared/watch-cli.js +3 -3
- package/dist/shared/watch.js +5 -3
- package/package.json +1 -1
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.56.0
|
|
4
|
+
Thu, 05 Aug 2021 05:18:15 GMT - commit ffd5cad3339c8d42bff3e9ae7c6c8ef12fced50a
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -3508,7 +3508,7 @@ var picomatch_1 = picomatch$3;
|
|
|
3508
3508
|
|
|
3509
3509
|
var picomatch$2 = picomatch_1;
|
|
3510
3510
|
|
|
3511
|
-
var chokidar = {};
|
|
3511
|
+
var chokidar$1 = {};
|
|
3512
3512
|
|
|
3513
3513
|
const fs$3 = fs$4;
|
|
3514
3514
|
const { Readable } = require$$1;
|
|
@@ -6505,7 +6505,7 @@ _readdirp(root, opts) {
|
|
|
6505
6505
|
}
|
|
6506
6506
|
|
|
6507
6507
|
// Export FSWatcher class
|
|
6508
|
-
chokidar.FSWatcher = FSWatcher;
|
|
6508
|
+
chokidar$1.FSWatcher = FSWatcher;
|
|
6509
6509
|
|
|
6510
6510
|
/**
|
|
6511
6511
|
* Instantiates watcher with paths to be tracked.
|
|
@@ -6519,7 +6519,9 @@ const watch = (paths, options) => {
|
|
|
6519
6519
|
return watcher;
|
|
6520
6520
|
};
|
|
6521
6521
|
|
|
6522
|
-
chokidar.watch = watch;
|
|
6522
|
+
chokidar$1.watch = watch;
|
|
6523
|
+
|
|
6524
|
+
var chokidar = chokidar$1;
|
|
6523
6525
|
|
|
6524
6526
|
exports.braces_1 = braces_1;
|
|
6525
6527
|
exports.chokidar = chokidar;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.56.0
|
|
4
|
+
Thu, 05 Aug 2021 05:18:15 GMT - commit ffd5cad3339c8d42bff3e9ae7c6c8ef12fced50a
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -153,7 +153,7 @@ function batchWarnings() {
|
|
|
153
153
|
const immediateHandlers = {
|
|
154
154
|
MISSING_NODE_BUILTINS: warning => {
|
|
155
155
|
title(`Missing shims for Node.js built-ins`);
|
|
156
|
-
stderr(`Creating a browser bundle that depends on ${rollup.printQuotedStringList(warning.modules)}. You might need to include https://github.com/
|
|
156
|
+
stderr(`Creating a browser bundle that depends on ${rollup.printQuotedStringList(warning.modules)}. You might need to include https://github.com/snowpackjs/rollup-plugin-polyfill-node`);
|
|
157
157
|
},
|
|
158
158
|
UNKNOWN_OPTION: warning => {
|
|
159
159
|
title(`You have passed an unrecognized option`);
|
|
@@ -272,7 +272,11 @@ const deferredHandlers = {
|
|
|
272
272
|
UNUSED_EXTERNAL_IMPORT(warnings) {
|
|
273
273
|
title('Unused external imports');
|
|
274
274
|
for (const warning of warnings) {
|
|
275
|
-
stderr(
|
|
275
|
+
stderr(warning.names +
|
|
276
|
+
' imported from external module "' +
|
|
277
|
+
warning.source +
|
|
278
|
+
'" but never used in ' +
|
|
279
|
+
rollup.printQuotedStringList(warning.sources.map(id => rollup.relativeId(id))));
|
|
276
280
|
}
|
|
277
281
|
}
|
|
278
282
|
};
|