rollup 1.27.6 → 1.27.10
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 +39 -1
- package/README.md +3 -3
- package/dist/bin/rollup +7 -2
- package/dist/rollup.browser.es.js +3 -3
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.es.js +526 -510
- package/dist/rollup.js +525 -509
- package/dist/shared/index.js +3 -3
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 1.27.10
|
|
4
|
+
*2019-12-11*
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
* Keep track of function return values in more situations (#3278)
|
|
8
|
+
|
|
9
|
+
### Pull Requests
|
|
10
|
+
* [#3278](https://github.com/rollup/rollup/pull/3278): Avoid some unnecessary value tracking deoptimizations (@lukastaegert)
|
|
11
|
+
|
|
12
|
+
## 1.27.9
|
|
13
|
+
*2019-12-07*
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
* Fix an issue where reexports could be missing when preserving modules (#3273)
|
|
17
|
+
* Allow turning of color output via NO_COLOR or FORCE_COLOR=0 environment variables (#3272)
|
|
18
|
+
|
|
19
|
+
### Pull Requests
|
|
20
|
+
* [#3272](https://github.com/rollup/rollup/pull/3272): Support either NO_COLOR or FORCE_COLOR=0 to turn off color (@kikonen)
|
|
21
|
+
* [#3273](https://github.com/rollup/rollup/pull/3273): Make sure that indirectly reexported modules also become chunk dependencies when preserving modules(@lukastaegert)
|
|
22
|
+
|
|
23
|
+
## 1.27.8
|
|
24
|
+
*2019-12-02*
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
* Deoptimize objects when a method is called on them to make sure modifications via "this" are observed (#3266)
|
|
28
|
+
|
|
29
|
+
### Pull Requests
|
|
30
|
+
* [#3266](https://github.com/rollup/rollup/pull/3266): Workaround for various object literal mutation bugs (@kzc)
|
|
31
|
+
|
|
32
|
+
## 1.27.7
|
|
33
|
+
*2019-12-01*
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
* Fix a scenario where a reassignments to computed properties were not tracked (#3267)
|
|
37
|
+
|
|
38
|
+
### Pull Requests
|
|
39
|
+
* [#3267](https://github.com/rollup/rollup/pull/3267): Fix incomplete computed property deoptimization (@lukastaegert)
|
|
40
|
+
|
|
3
41
|
## 1.27.6
|
|
4
42
|
*2019-11-30*
|
|
5
43
|
|
|
6
|
-
###
|
|
44
|
+
### Bug Fixes
|
|
7
45
|
* Use "auto" export mode by default for all modules when preserving modules (#3265)
|
|
8
46
|
* Observe "output.exports" when preserving modules and warn for mixed exports if necessary (#3265)
|
|
9
47
|
|
package/README.md
CHANGED
|
@@ -44,21 +44,21 @@ For browsers:
|
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
46
|
# compile to a <script> containing a self-executing function
|
|
47
|
-
|
|
47
|
+
rollup main.js --format iife --name "myBundle" --file bundle.js
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
For Node.js:
|
|
51
51
|
|
|
52
52
|
```bash
|
|
53
53
|
# compile to a CommonJS module
|
|
54
|
-
|
|
54
|
+
rollup main.js --format cjs --file bundle.js
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
For both browsers and Node.js:
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
60
|
# UMD format requires a bundle name
|
|
61
|
-
|
|
61
|
+
rollup main.js --format umd --name "myBundle" --file bundle.js
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
## Why
|
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v1.27.
|
|
6
|
-
|
|
5
|
+
Rollup.js v1.27.10
|
|
6
|
+
Wed, 11 Dec 2019 08:12:01 GMT - commit a562ec571b1a9e6f12ddfb8b8ef6aef4d5212cf8
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
https://github.com/rollup/rollup
|
|
@@ -296,6 +296,11 @@ init("bgCyan", "\x1b[46m", "\x1b[49m", /\x1b\[49m/g);
|
|
|
296
296
|
init("bgWhite", "\x1b[47m", "\x1b[49m", /\x1b\[49m/g);
|
|
297
297
|
var turbocolor = tc;
|
|
298
298
|
|
|
299
|
+
// @see https://no-color.org
|
|
300
|
+
// @see https://www.npmjs.com/package/chalk
|
|
301
|
+
if (process.env.FORCE_COLOR === '0' || process.env.NO_COLOR) {
|
|
302
|
+
turbocolor.enabled = false;
|
|
303
|
+
}
|
|
299
304
|
// log to stderr to keep `rollup main.js > bundle.js` from breaking
|
|
300
305
|
const stderr = console.error.bind(console);
|
|
301
306
|
function handleError(err, recover = false) {
|