@@ -71,8 +71,8 @@ gulp.task('rollup:fesm', function () {
71
71
. pipe ( rollup ( {
72
72
73
73
// Bundle's entry point
74
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#entry
75
- entry : `${ buildFolder } /index.js` ,
74
+ // See "input" in https://rollupjs.org/#core-functionality
75
+ input : `${ buildFolder } /index.js` ,
76
76
77
77
// Allow mixing of hypothetical and actual files. "Actual" files can be files
78
78
// accessed by Rollup or produced by plugins further down the chain.
@@ -81,14 +81,14 @@ gulp.task('rollup:fesm', function () {
81
81
allowRealFiles : true ,
82
82
83
83
// A list of IDs of modules that should remain external to the bundle
84
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#external
84
+ // See "external" in https://rollupjs.org/#core-functionality
85
85
external : [
86
86
'@angular/core' ,
87
87
'@angular/common'
88
88
] ,
89
89
90
90
// Format of generated bundle
91
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#format
91
+ // See "format" in https://rollupjs.org/#core-functionality
92
92
format : 'es'
93
93
} ) )
94
94
. pipe ( gulp . dest ( distFolder ) ) ;
@@ -104,8 +104,8 @@ gulp.task('rollup:umd', function () {
104
104
. pipe ( rollup ( {
105
105
106
106
// Bundle's entry point
107
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#entry
108
- entry : `${ buildFolder } /index.js` ,
107
+ // See "input" in https://rollupjs.org/#core-functionality
108
+ input : `${ buildFolder } /index.js` ,
109
109
110
110
// Allow mixing of hypothetical and actual files. "Actual" files can be files
111
111
// accessed by Rollup or produced by plugins further down the chain.
@@ -114,26 +114,26 @@ gulp.task('rollup:umd', function () {
114
114
allowRealFiles : true ,
115
115
116
116
// A list of IDs of modules that should remain external to the bundle
117
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#external
117
+ // See "external" in https://rollupjs.org/#core-functionality
118
118
external : [
119
119
'@angular/core' ,
120
120
'@angular/common'
121
121
] ,
122
122
123
123
// Format of generated bundle
124
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#format
124
+ // See "format" in https://rollupjs.org/#core-functionality
125
125
format : 'umd' ,
126
126
127
127
// Export mode to use
128
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#exports
128
+ // See "exports" in https://rollupjs.org/#danger-zone
129
129
exports : 'named' ,
130
130
131
131
// The name to use for the module for UMD/IIFE bundles
132
132
// (required for bundles with exports)
133
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#modulename
134
- moduleName : '<%= props.libraryName.original %>' ,
133
+ // See "name" in https://rollupjs.org/#core-functionality
134
+ name : '<%= props.libraryName.original %>' ,
135
135
136
- // See https://github.com/rollup/rollup/wiki/JavaScript-API#globals
136
+ // See "globals" in https://rollupjs.org/#core-functionality
137
137
globals : {
138
138
typescript : 'ts'
139
139
}
0 commit comments