rollup 0.49.1 → 0.50.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/CHANGELOG.md +16 -1
- package/README.md +4 -4
- package/bin/rollup +165 -106
- package/dist/rollup.browser.js +1150 -802
- package/dist/rollup.es.js +1242 -894
- package/dist/rollup.js +1242 -894
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 0.50.0
|
|
4
|
+
|
|
5
|
+
* Many treeshaking improvements ([#1624](https://github.com/rollup/rollup/pull/1624))
|
|
6
|
+
* Show finish time in watch mode ([#1620](https://github.com/rollup/rollup/pull/1620))
|
|
7
|
+
|
|
8
|
+
## 0.49.3
|
|
9
|
+
|
|
10
|
+
* Respect `watch` options ([#1596](https://github.com/rollup/rollup/issues/1596))
|
|
11
|
+
* Fix treeshaking regressions ([#1604](https://github.com/rollup/rollup/pull/1604))
|
|
12
|
+
* Allow `-o` to work with `output.format` ([#1606](https://github.com/rollup/rollup/pull/1606))
|
|
13
|
+
|
|
14
|
+
## 0.49.2
|
|
15
|
+
|
|
16
|
+
* Fix treeshaking regressions ([#1591](https://github.com/rollup/rollup/pull/1591))
|
|
17
|
+
|
|
3
18
|
## 0.49.1
|
|
4
19
|
|
|
5
20
|
* Fix treeshaking regressions ([#1586](https://github.com/rollup/rollup/pull/1586))
|
|
@@ -55,7 +70,7 @@
|
|
|
55
70
|
## 0.46.3
|
|
56
71
|
|
|
57
72
|
* init for/for-of loop section head with correct scopes ([#1538](https://github.com/rollup/rollup/issues/1538), [#1539](https://github.com/rollup/rollup/issues/1539))
|
|
58
|
-
* Fix namespace imports and re-exports in `es`
|
|
73
|
+
* Fix namespace imports and re-exports in `es` output ([#1511](https://github.com/rollup/rollup/issues/1511))
|
|
59
74
|
* Deshadow indirectly imported namespaces ([#1488](https://github.com/rollup/rollup/issues/1488), [#1505](https://github.com/rollup/rollup/issues/1505))
|
|
60
75
|
|
|
61
76
|
## 0.46.2
|
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ Rollup is a module bundler for JavaScript which compiles small pieces of code in
|
|
|
32
32
|
|
|
33
33
|
## Quick Start Guide
|
|
34
34
|
|
|
35
|
-
Install with `npm install --global rollup`. Rollup can be used either through a [command line interface](https://
|
|
35
|
+
Install with `npm install --global rollup`. Rollup can be used either through a [command line interface](https://rollupjs.org/#command-line-reference) with an optional configuration file, or else through its [JavaScript API](https://rollupjs.org/#javascript-api). Run `rollup --help` to see the available options and parameters. The starter project templates, [rollup-starter-lib](https://github.com/rollup/rollup-starter-lib) and [rollup-starter-app](https://github.com/rollup/rollup-starter-app), demonstrate common configuration options, and more detailed instructions are available throughout the [user guide](http://rollupjs.org/).
|
|
36
36
|
|
|
37
37
|
### Commands
|
|
38
38
|
|
|
@@ -42,21 +42,21 @@ For browsers:
|
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
44
|
# compile to a <script> containing a self-executing function
|
|
45
|
-
$ rollup main.js --format iife --output bundle.js
|
|
45
|
+
$ rollup main.js --output.format iife --output.file bundle.js
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
For Node.js:
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
51
|
# compile to a CommonJS module
|
|
52
|
-
$ rollup main.js --format cjs --output bundle.js
|
|
52
|
+
$ rollup main.js --output.format cjs --output.file bundle.js
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
For both browsers and Node.js:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
58
|
# UMD format requires a bundle name
|
|
59
|
-
$ rollup main.js --format umd --name "myBundle" --output bundle.js
|
|
59
|
+
$ rollup main.js --output.format umd --name "myBundle" --output.file bundle.js
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
## Why
|