From b6cc60f0c52830171cb2302c8acad144e996838c Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Fri, 18 May 2018 15:22:49 -0400 Subject: [PATCH] =?UTF-8?q?Update=20rollup=20to=20the=20latest=20version?= =?UTF-8?q?=20=F0=9F=9A=80=20(#148)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(package): update rollup to version 0.58.1 * - Update to 0.59.1 which came out after PR created - Change rollup invocation to use new parameter names which were a breaking change in the past --- gulpfile.js | 9 +++++---- package.json | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 3cf20833..3c3fe562 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -53,7 +53,7 @@ gulp.task('clean:staging', function () { function createBundle(format, destination) { return rollup.rollup({ - entry: 'src/desktop.ts', + input: 'src/desktop.ts', plugins: [ tsrollup({ typescript: typescript }), rollupReplace({ @@ -61,11 +61,12 @@ function createBundle(format, destination) { }) ] }).then(function (bundle) { - bundle.write({ - dest: destination, + return bundle.write({ + file: destination, format: format, + name: pkg.title, moduleName: pkg.title, - sourceMap: true, + sourcemap: true }); }); } diff --git a/package.json b/package.json index d10f9352..485e66b7 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "gulp-webserver": "^0.9.1", "merge2": "^1.0.3", "remap-istanbul": "^0.11.0", - "rollup": "^0.41.6", + "rollup": "^0.59.1", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-typescript": "^0.8.1", "run-sequence": "^2.2.0",