We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ffec02 commit 6370341Copy full SHA for 6370341
1 file changed
gulpfile.js
@@ -23,6 +23,7 @@ var buffer = require('vinyl-buffer');
23
var source = require('vinyl-source-stream');
24
25
var SRC_FILE = 'stackdriver-errors.js';
26
+var TYPINGS_FILE = 'stackdriver-errors.d.ts';
27
var DEST = 'dist/';
28
29
var polyfills = [
@@ -52,7 +53,9 @@ gulp.task('lib-concat', function() {
52
53
.pipe(uglify())
54
.pipe(rename({extname: '.min.js'}))
55
.pipe(sourcemaps.write('maps'))
- .pipe(gulp.dest(DEST));
56
+ .pipe(gulp.dest(DEST))
57
+ .pipe(gulp.src(TYPINGS_FILE))
58
+ .pipe(gulp.dest(DEST));
59
});
60
61
gulp.task('demo-html', function() {
0 commit comments