rollup 2.51.0 → 2.51.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/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.51.0
4
- Sun, 06 Jun 2021 11:27:34 GMT - commit 592b9fed918ccc99d48ece917a70015ac1898e52
3
+ Rollup.js v2.51.1
4
+ Tue, 08 Jun 2021 05:41:03 GMT - commit 76dedd65e6059f60964684ac7c3cfb89ce5c5523
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -21,6 +21,7 @@ require('events');
21
21
 
22
22
 
23
23
  exports.VERSION = rollup.version;
24
+ exports.defineConfig = rollup.defineConfig;
24
25
  exports.rollup = rollup.rollup;
25
26
  exports.watch = rollup.watch;
26
27
  //# sourceMappingURL=rollup.js.map
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.51.0
4
- Sun, 06 Jun 2021 11:27:34 GMT - commit 592b9fed918ccc99d48ece917a70015ac1898e52
3
+ Rollup.js v2.51.1
4
+ Tue, 08 Jun 2021 05:41:03 GMT - commit 76dedd65e6059f60964684ac7c3cfb89ce5c5523
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.51.0
4
- Sun, 06 Jun 2021 11:27:34 GMT - commit 592b9fed918ccc99d48ece917a70015ac1898e52
3
+ Rollup.js v2.51.1
4
+ Tue, 08 Jun 2021 05:41:03 GMT - commit 76dedd65e6059f60964684ac7c3cfb89ce5c5523
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.51.0
4
- Sun, 06 Jun 2021 11:27:34 GMT - commit 592b9fed918ccc99d48ece917a70015ac1898e52
3
+ Rollup.js v2.51.1
4
+ Tue, 08 Jun 2021 05:41:03 GMT - commit 76dedd65e6059f60964684ac7c3cfb89ce5c5523
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.51.0
4
- Sun, 06 Jun 2021 11:27:34 GMT - commit 592b9fed918ccc99d48ece917a70015ac1898e52
3
+ Rollup.js v2.51.1
4
+ Tue, 08 Jun 2021 05:41:03 GMT - commit 76dedd65e6059f60964684ac7c3cfb89ce5c5523
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -32,7 +32,7 @@ function _interopNamespaceDefault(e) {
32
32
 
33
33
  var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
34
34
 
35
- var version$1 = "2.51.0";
35
+ var version$1 = "2.51.1";
36
36
 
37
37
  function ensureArray(items) {
38
38
  if (Array.isArray(items)) {
@@ -20826,6 +20826,14 @@ function writeOutputFile(outputFile, outputOptions) {
20826
20826
  }
20827
20827
  return Promise.all([writeFile(fileName, source), writeSourceMapPromise]);
20828
20828
  }
20829
+ /**
20830
+ * Auxiliary function for defining rollup configuration
20831
+ * Mainly to facilitate IDE code prompts, after all, export default does not prompt, even if you add @type annotations, it is not accurate
20832
+ * @param options
20833
+ */
20834
+ function defineConfig(options) {
20835
+ return options;
20836
+ }
20829
20837
 
20830
20838
  class WatchEmitter extends require$$0.EventEmitter {
20831
20839
  constructor() {
@@ -20850,6 +20858,7 @@ function watch(configs) {
20850
20858
  }
20851
20859
 
20852
20860
  exports.defaultOnWarn = defaultOnWarn;
20861
+ exports.defineConfig = defineConfig;
20853
20862
  exports.ensureArray = ensureArray;
20854
20863
  exports.error = error;
20855
20864
  exports.fseventsImporter = fseventsImporter;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.51.0
4
- Sun, 06 Jun 2021 11:27:34 GMT - commit 592b9fed918ccc99d48ece917a70015ac1898e52
3
+ Rollup.js v2.51.1
4
+ Tue, 08 Jun 2021 05:41:03 GMT - commit 76dedd65e6059f60964684ac7c3cfb89ce5c5523
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.51.0
4
- Sun, 06 Jun 2021 11:27:34 GMT - commit 592b9fed918ccc99d48ece917a70015ac1898e52
3
+ Rollup.js v2.51.1
4
+ Tue, 08 Jun 2021 05:41:03 GMT - commit 76dedd65e6059f60964684ac7c3cfb89ce5c5523
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "2.51.0",
3
+ "version": "2.51.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -15,7 +15,7 @@
15
15
  "ci:lint": "npm run lint:nofix",
16
16
  "ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
17
17
  "ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
18
- "ci:coverage": "npm run build:cjs && nyc --reporter lcovonly mocha",
18
+ "ci:coverage": "npm run build:cjs && npm run build:bootstrap && nyc --reporter lcovonly mocha",
19
19
  "lint": "npx eslint . --fix --cache && npm run lint:markdown",
20
20
  "lint:nofix": "npx eslint . && npm run lint:markdown",
21
21
  "lint:markdown": "markdownlint --config markdownlint.json docs/**/*.md",