rollup 0.36.3 → 0.37.2

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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # rollup changelog
2
2
 
3
+ ## 0.37.2
4
+
5
+ * Remove unused `new` expressions without side-effects ([#179](https://github.com/rollup/rollup/issues/179))
6
+ * Only remove valid sourceMappingURL comments ([#1132](https://github.com/rollup/rollup/issues/1132))
7
+ * Ensure blocks containing activated `var` declarations are included in output ([#1113](https://github.com/rollup/rollup/issues/1113))
8
+ * Support plugin outros ([#1116](https://github.com/rollup/rollup/issues/1116))
9
+
10
+ ## 0.37.1
11
+
12
+ * Follow symlinks ([#447](https://github.com/rollup/rollup/issues/447))
13
+ * Fix tree-shaking of recursive functions and other cases ([#1120](https://github.com/rollup/rollup/issues/1120), [#1142](https://github.com/rollup/rollup/issues/1142))
14
+ * Support module names that require quotes ([#582](https://github.com/rollup/rollup/issues/582), [#584](https://github.com/rollup/rollup/issues/584))
15
+ * Fix [#957](https://github.com/rollup/rollup/issues/957)
16
+
17
+ ## 0.37.0
18
+
19
+ * [BREAKING] Default exports are not included in reified namespaces ([#1028](https://github.com/rollup/rollup/issues/1028))
20
+ * Parentheses do not defeat tree-shaking ([#1101](https://github.com/rollup/rollup/issues/1101), [#1128](https://github.com/rollup/rollup/issues/1128))
21
+ * More `legacy` fixes: do not create getters ([#1069](https://github.com/rollup/rollup/pull/1069)), do not include `__esModule` ([#1068](https://github.com/rollup/rollup/pull/1068)), quote reserved property names ([#1057](https://github.com/rollup/rollup/pull/1057))
22
+ * Fix missing namespace member warnings ([#1045](https://github.com/rollup/rollup/issues/1045))
23
+ * Fix TypeError in arrow function without braces returning a function ([#1062](https://github.com/rollup/rollup/pull/1062))
24
+
25
+ ## 0.36.4
26
+
27
+ * Only depend on program-level call expressions ([#977](https://github.com/rollup/rollup/issues/977))
28
+
3
29
  ## 0.36.3
4
30
 
5
31
  * Add `legacy` option for IE8 support ([#989](https://github.com/rollup/rollup/pull/989))
package/bin/rollup CHANGED
@@ -257,7 +257,7 @@ var minimist = interopDefault(index);
257
257
 
258
258
  var help = "rollup version __VERSION__\n=====================================\n\nUsage: rollup [options] <entry file>\n\nBasic options:\n\n-v, --version Show version number\n-h, --help Show this help message\n-c, --config Use this config file (if argument is used but value\n is unspecified, defaults to rollup.config.js)\n-w, --watch Watch files in bundle and rebuild on changes\n-i, --input Input (alternative to <entry file>)\n-o, --output <output> Output (if absent, prints to stdout)\n-f, --format [es] Type of output (amd, cjs, es, iife, umd)\n-e, --external Comma-separate list of module IDs to exclude\n-g, --globals Comma-separate list of `module ID:Global` pairs\n Any module IDs defined here are added to external\n-n, --name Name for UMD export\n-u, --id ID for AMD module (default is anonymous)\n-m, --sourcemap Generate sourcemap (`-m inline` for inline map)\n--no-strict Don't emit a `\"use strict\";` in the generated modules.\n--no-indent Don't indent result\n--environment <values> Settings passed to config file (see example)\n--no-conflict Generate a noConflict method for UMD globals\n--intro Content to insert at top of bundle (inside wrapper)\n--outro Content to insert at end of bundle (inside wrapper)\n--banner Content to insert at top of bundle (outside wrapper)\n--footer Content to insert at end of bundle (outside wrapper)\n\nExamples:\n\n# use settings in config file\nrollup -c\n\n# in config file, process.env.INCLUDE_DEPS === 'true'\n# and process.env.BUILD === 'production'\nrollup -c --environment INCLUDE_DEPS,BUILD:production\n\n# create CommonJS bundle.js from src/main.js\nrollup --format=cjs --output=bundle.js -- src/main.js\n\n# create self-executing IIFE using `window.jQuery`\n# and `window._` as external globals\nrollup -f iife --globals jquery:jQuery,lodash:_ \\\n -i src/app.js -o build/app.js -m build/app.js.map\n\nNotes:\n\n* When piping to stdout, only inline sourcemaps are permitted\n\nFor more information visit https://github.com/rollup/rollup/wiki\n";
259
259
 
260
- var version = "0.36.3";
260
+ var version = "0.37.2";
261
261
 
262
262
  var index$1 = createCommonjsModule(function (module) {
263
263
  /*
@@ -791,6 +791,7 @@ var equivalents = {
791
791
  indent: 'indent',
792
792
  input: 'entry',
793
793
  intro: 'intro',
794
+ legacy: 'legacy',
794
795
  name: 'moduleName',
795
796
  output: 'dest',
796
797
  outro: 'outro',
@@ -946,6 +947,7 @@ var command = minimist( process.argv.slice( 2 ), {
946
947
  g: 'globals',
947
948
  h: 'help',
948
949
  i: 'input',
950
+ l: 'legacy',
949
951
  m: 'sourcemap',
950
952
  n: 'name',
951
953
  o: 'output',