Skip to content

Commit

Permalink
Update rollup to the latest version 🚀 (#148)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
greenkeeper[bot] authored and bingenito committed May 18, 2018
1 parent 5b040a1 commit b6cc60f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,20 @@ 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({
PACKAGE_VERSION: pkg.version
})
]
}).then(function (bundle) {
bundle.write({
dest: destination,
return bundle.write({
file: destination,
format: format,
name: pkg.title,
moduleName: pkg.title,
sourceMap: true,
sourcemap: true
});
});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b6cc60f

Please sign in to comment.