rollup 0.66.2 → 0.66.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/CHANGELOG.md +20 -0
- package/README.md +0 -5
- package/bin/rollup +7 -7
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.es.js +214 -218
- package/dist/rollup.js +214 -218
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 0.66.6
|
|
4
|
+
*2018-10-10*
|
|
5
|
+
* Properly deconflict function and class declaration ids of reassigned default exports ([#2502](https://github.com/rollup/rollup/pull/2502))
|
|
6
|
+
|
|
7
|
+
## 0.66.5
|
|
8
|
+
*2018-10-09*
|
|
9
|
+
* Remove cache from memory once no longer needed ([#2496](https://github.com/rollup/rollup/pull/2496))
|
|
10
|
+
* Provide better error message when reexporting external namespace reexports ([#2499](https://github.com/rollup/rollup/pull/2499))
|
|
11
|
+
|
|
12
|
+
## 0.66.4
|
|
13
|
+
*2018-10-04*
|
|
14
|
+
* Fix links in warnings and errors ([#2471](https://github.com/rollup/rollup/pull/2471))
|
|
15
|
+
|
|
16
|
+
## 0.66.3
|
|
17
|
+
*2018-10-03*
|
|
18
|
+
* Detect side-effects in string.replace function arguments ([#2476](https://github.com/rollup/rollup/pull/2476))
|
|
19
|
+
* Make sure chunk ids are assigned before creating output bundle ([#2483](https://github.com/rollup/rollup/pull/2483))
|
|
20
|
+
* Use proper plugin name in error ([#2470](https://github.com/rollup/rollup/pull/2470))
|
|
21
|
+
* Update TypeScript version and fix type errors ([#2488](https://github.com/rollup/rollup/pull/2488))
|
|
22
|
+
|
|
3
23
|
## 0.66.2
|
|
4
24
|
*2018-09-21*
|
|
5
25
|
* Add additional information to parse errors messages in JSON and other non-JS files ([#2466](https://github.com/rollup/rollup/pull/2466))
|
package/README.md
CHANGED
|
@@ -109,11 +109,6 @@ Rollup can import existing CommonJS modules [through a plugin](https://github.co
|
|
|
109
109
|
|
|
110
110
|
To make sure your ES modules are immediately usable by tools that work with CommonJS such as Node.js and webpack, you can use Rollup to compile to UMD or CommonJS format, and then point to that compiled version with the `main` property in your `package.json` file. If your `package.json` file also has a `module` field, ES-module-aware tools like Rollup and [webpack 2](https://webpack.js.org/) will [import the ES module version](https://github.com/rollup/rollup/wiki/pkg.module) directly.
|
|
111
111
|
|
|
112
|
-
## Links
|
|
113
|
-
|
|
114
|
-
- step-by-step [tutorial video series](https://code.lengstorf.com/learn-rollup-js/), with accompanying written walkthrough
|
|
115
|
-
- miscellaneous issues in the [wiki](https://github.com/rollup/rollup/wiki)
|
|
116
|
-
|
|
117
112
|
## Contributors
|
|
118
113
|
|
|
119
114
|
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
|
package/bin/rollup
CHANGED
|
@@ -251,7 +251,7 @@ function isNumber (x) {
|
|
|
251
251
|
return /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x);
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
var version = "0.66.
|
|
254
|
+
var version = "0.66.6";
|
|
255
255
|
|
|
256
256
|
/*! *****************************************************************************
|
|
257
257
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -864,7 +864,7 @@ var deferredHandlers = {
|
|
|
864
864
|
priority: 1,
|
|
865
865
|
fn: function (warnings) {
|
|
866
866
|
title('Unresolved dependencies');
|
|
867
|
-
info('https://
|
|
867
|
+
info('https://rollupjs.org/guide/en#warning-treating-module-as-external-dependency');
|
|
868
868
|
var dependencies = new Map();
|
|
869
869
|
warnings.forEach(function (warning) {
|
|
870
870
|
if (!dependencies.has(warning.source))
|
|
@@ -881,7 +881,7 @@ var deferredHandlers = {
|
|
|
881
881
|
priority: 1,
|
|
882
882
|
fn: function (warnings) {
|
|
883
883
|
title('Missing exports');
|
|
884
|
-
info('https://
|
|
884
|
+
info('https://rollupjs.org/guide/en#error-name-is-not-exported-by-module-');
|
|
885
885
|
warnings.forEach(function (warning) {
|
|
886
886
|
stderr(turbocolor.bold(warning.importer));
|
|
887
887
|
stderr(warning.missing + " is not exported by " + warning.exporter);
|
|
@@ -893,7 +893,7 @@ var deferredHandlers = {
|
|
|
893
893
|
priority: 1,
|
|
894
894
|
fn: function (warnings) {
|
|
895
895
|
title('`this` has been rewritten to `undefined`');
|
|
896
|
-
info('https://
|
|
896
|
+
info('https://rollupjs.org/guide/en#error-this-is-undefined');
|
|
897
897
|
showTruncatedWarnings(warnings);
|
|
898
898
|
}
|
|
899
899
|
},
|
|
@@ -901,7 +901,7 @@ var deferredHandlers = {
|
|
|
901
901
|
priority: 1,
|
|
902
902
|
fn: function (warnings) {
|
|
903
903
|
title('Use of eval is strongly discouraged');
|
|
904
|
-
info('https://
|
|
904
|
+
info('https://rollupjs.org/guide/en#avoiding-eval');
|
|
905
905
|
showTruncatedWarnings(warnings);
|
|
906
906
|
}
|
|
907
907
|
},
|
|
@@ -935,7 +935,7 @@ var deferredHandlers = {
|
|
|
935
935
|
priority: 1,
|
|
936
936
|
fn: function (warnings) {
|
|
937
937
|
title("Broken sourcemap");
|
|
938
|
-
info('https://
|
|
938
|
+
info('https://rollupjs.org/guide/en#warning-sourcemap-is-likely-to-be-incorrect');
|
|
939
939
|
var plugins = Array.from(new Set(warnings.map(function (w) { return w.plugin; }).filter(Boolean)));
|
|
940
940
|
var detail = plugins.length === 0
|
|
941
941
|
? ''
|
|
@@ -1286,7 +1286,7 @@ function loadConfigFile(configFile, commandOptions) {
|
|
|
1286
1286
|
handleError({
|
|
1287
1287
|
code: 'MISSING_CONFIG',
|
|
1288
1288
|
message: 'Config file must export an options object, or an array of options objects',
|
|
1289
|
-
url: 'https://rollupjs.org
|
|
1289
|
+
url: 'https://rollupjs.org/guide/en#configuration-files'
|
|
1290
1290
|
});
|
|
1291
1291
|
}
|
|
1292
1292
|
require.extensions['.js'] = defaultLoader;
|