rollup 2.48.0 → 2.50.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 +29 -0
- package/dist/bin/rollup +3 -5
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +6230 -5814
- package/dist/es/shared/watch.js +5 -5
- package/dist/loadConfigFile.js +3 -3
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.d.ts +9 -8
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +21 -21
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +6231 -5815
- package/dist/shared/watch-cli.js +8 -8
- package/dist/shared/watch.js +4 -4
- package/package.json +10 -9
package/dist/es/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.50.0
|
|
4
|
+
Tue, 25 May 2021 10:57:41 GMT - commit 2febefa277d1c2c149df1df5ccc43796059a624b
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -12,10 +12,10 @@ import * as require$$0$1 from 'path';
|
|
|
12
12
|
import require$$0__default, { sep, resolve } from 'path';
|
|
13
13
|
import require$$0$2 from 'util';
|
|
14
14
|
import { defaultOnWarn, ensureArray as ensureArray$1, warnUnknownOptions, fseventsImporter, rollupInternal } from './rollup.js';
|
|
15
|
+
import require$$2, { platform } from 'os';
|
|
15
16
|
import require$$0$3 from 'events';
|
|
16
17
|
import fs__default from 'fs';
|
|
17
18
|
import require$$1 from 'stream';
|
|
18
|
-
import require$$2, { platform } from 'os';
|
|
19
19
|
import 'crypto';
|
|
20
20
|
|
|
21
21
|
function getAugmentedNamespace(n) {
|
|
@@ -7205,7 +7205,7 @@ class FileWatcher {
|
|
|
7205
7205
|
watcher.unwatch(changedId);
|
|
7206
7206
|
watcher.add(changedId);
|
|
7207
7207
|
}
|
|
7208
|
-
task.invalidate(changedId, {
|
|
7208
|
+
task.invalidate(changedId, { event, isTransformDependency });
|
|
7209
7209
|
};
|
|
7210
7210
|
const watcher = chokidar
|
|
7211
7211
|
.watch([], this.chokidarOptions)
|
|
@@ -7344,7 +7344,7 @@ class Task {
|
|
|
7344
7344
|
module.originalCode = null;
|
|
7345
7345
|
}
|
|
7346
7346
|
}
|
|
7347
|
-
this.watcher.invalidate({
|
|
7347
|
+
this.watcher.invalidate({ event: details.event, id });
|
|
7348
7348
|
}
|
|
7349
7349
|
async run() {
|
|
7350
7350
|
if (!this.invalidated)
|
package/dist/loadConfigFile.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.50.0
|
|
4
|
+
Tue, 25 May 2021 10:57:41 GMT - commit 2febefa277d1c2c149df1df5ccc43796059a624b
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
*/
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
var loadConfigFile_js = require('./shared/loadConfigFile.js');
|
|
14
13
|
require('fs');
|
|
15
14
|
require('path');
|
|
16
15
|
require('url');
|
|
16
|
+
var loadConfigFile_js = require('./shared/loadConfigFile.js');
|
|
17
17
|
require('./shared/rollup.js');
|
|
18
18
|
require('./shared/mergeOptions.js');
|
|
19
19
|
require('crypto');
|