Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 384f5ec

Browse files
Misko Heverymhevery
authored andcommitted
fix: correct zone.min.js not including zone
1 parent 610649b commit 384f5ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gulpfile.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ gulp.task('compile-esm', function(cb) {
6969
});
7070

7171
gulp.task('build/zone.js.d.ts', ['compile-esm'], function() {
72-
return gulp.src('./build/lib/zone.d.ts').pipe(rename('zone.js.d.ts')).pipe(gulp.dest('./dist'));
72+
return gulp.src('./build-esm/lib/zone.d.ts').pipe(rename('zone.js.d.ts')).pipe(gulp.dest('./dist'));
7373
});
7474

7575
// Zone for Node.js environment.
@@ -79,12 +79,11 @@ gulp.task('build/zone-node.js', ['compile-esm'], function(cb) {
7979

8080
// Zone for the browser.
8181
gulp.task('build/zone.js', ['compile-esm'], function(cb) {
82-
8382
return generateScript('./lib/browser/rollup-main.ts', 'zone.js', false, cb);
8483
});
8584

8685
gulp.task('build/zone.min.js', ['compile-esm'], function(cb) {
87-
return generateScript('./lib/browser/browser.ts', 'zone.min.js', true, cb);
86+
return generateScript('./lib/browser/rollup-main.ts', 'zone.min.js', true, cb);
8887
});
8988

9089
gulp.task('build/jasmine-patch.js', ['compile-esm'], function(cb) {

0 commit comments

Comments
 (0)