Skip to content

Commit f23fd50

Browse files
committed
Update rollup and gulp-rollup
New key names in rollup config entry => input moduleName => name
1 parent e28e14b commit f23fd50

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

angular-oauth2-oidc/gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ gulp.task('rollup:fesm', function () {
7272

7373
// Bundle's entry point
7474
// See https://github.com/rollup/rollup/wiki/JavaScript-API#entry
75-
entry: `${buildFolder}/index.js`,
75+
input: `${buildFolder}/index.js`,
7676

7777
// Allow mixing of hypothetical and actual files. "Actual" files can be files
7878
// accessed by Rollup or produced by plugins further down the chain.
@@ -105,7 +105,7 @@ gulp.task('rollup:umd', function () {
105105

106106
// Bundle's entry point
107107
// See https://github.com/rollup/rollup/wiki/JavaScript-API#entry
108-
entry: `${buildFolder}/index.js`,
108+
input: `${buildFolder}/index.js`,
109109

110110
// Allow mixing of hypothetical and actual files. "Actual" files can be files
111111
// accessed by Rollup or produced by plugins further down the chain.
@@ -131,7 +131,7 @@ gulp.task('rollup:umd', function () {
131131
// The name to use for the module for UMD/IIFE bundles
132132
// (required for bundles with exports)
133133
// See https://github.com/rollup/rollup/wiki/JavaScript-API#modulename
134-
moduleName: 'angular-oauth2-oidc',
134+
name: 'angular-oauth2-oidc',
135135

136136
// See https://github.com/rollup/rollup/wiki/JavaScript-API#globals
137137
globals: {

angular-oauth2-oidc/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"del": "^2.2.2",
4343
"gulp": "^3.9.1",
4444
"gulp-rename": "^1.2.2",
45-
"gulp-rollup": "^2.11.0",
45+
"gulp-rollup": "^2.15.0",
4646
"jasmine-core": "~2.5.2",
4747
"jasmine-spec-reporter": "~3.2.0",
4848
"karma": "~1.4.1",
@@ -55,7 +55,7 @@
5555
"node-sass-tilde-importer": "^1.0.0",
5656
"node-watch": "^0.5.2",
5757
"protractor": "~5.1.0",
58-
"rollup": "^0.41.6",
58+
"rollup": "^0.50.0",
5959
"run-sequence": "^1.2.2",
6060
"rxjs": "^5.1.0",
6161
"ts-node": "~2.0.0",

gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ gulp.task('rollup:fesm', function () {
7272

7373
// Bundle's entry point
7474
// See https://github.com/rollup/rollup/wiki/JavaScript-API#entry
75-
entry: `${buildFolder}/index.js`,
75+
input: `${buildFolder}/index.js`,
7676

7777
// Allow mixing of hypothetical and actual files. "Actual" files can be files
7878
// accessed by Rollup or produced by plugins further down the chain.
@@ -105,7 +105,7 @@ gulp.task('rollup:umd', function () {
105105

106106
// Bundle's entry point
107107
// See https://github.com/rollup/rollup/wiki/JavaScript-API#entry
108-
entry: `${buildFolder}/index.js`,
108+
input: `${buildFolder}/index.js`,
109109

110110
// Allow mixing of hypothetical and actual files. "Actual" files can be files
111111
// accessed by Rollup or produced by plugins further down the chain.
@@ -131,7 +131,7 @@ gulp.task('rollup:umd', function () {
131131
// The name to use for the module for UMD/IIFE bundles
132132
// (required for bundles with exports)
133133
// See https://github.com/rollup/rollup/wiki/JavaScript-API#modulename
134-
moduleName: 'angular-oauth2-oidc',
134+
name: 'angular-oauth2-oidc',
135135

136136
// See https://github.com/rollup/rollup/wiki/JavaScript-API#globals
137137
globals: {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"del": "^2.2.2",
4242
"gulp": "^3.9.1",
4343
"gulp-rename": "^1.2.2",
44-
"gulp-rollup": "^2.11.0",
44+
"gulp-rollup": "^2.15.0",
4545
"jasmine-core": "~2.5.2",
4646
"jasmine-spec-reporter": "~3.2.0",
4747
"karma": "~1.4.1",
@@ -54,7 +54,7 @@
5454
"node-sass-tilde-importer": "^1.0.0",
5555
"node-watch": "^0.5.2",
5656
"protractor": "~5.1.0",
57-
"rollup": "^0.41.6",
57+
"rollup": "^0.50.0",
5858
"run-sequence": "^1.2.2",
5959
"rxjs": "^5.1.0",
6060
"ts-node": "~2.0.0",

0 commit comments

Comments
 (0)