Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions node-express-typescript/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ gulp.task('nodemon', function (cb) {
});

// TypeScript build for /src folder, pipes in .d.ts files from typings folder
var tsConfigSrc = tsb.create('src/tsconfig.json');
var tsConfigSrc = tsb.create(require('./src/tsconfig.json'));
gulp.task('build', function () {
return gulp.src(['typings/**/*.ts', 'src/**/*.ts'])
.pipe(tsConfigSrc())
Expand All @@ -68,7 +68,7 @@ gulp.task('build', function () {

// TypeScript build for /tests folder, pipes in .d.ts files from typings folder
// as well as the src/tsd.d.ts which is referenced by tests/tsd.d.ts
var tsConfigTests = tsb.create('tests/tsconfig.json');
var tsConfigTests = tsb.create(require('./tests/tsconfig.json'));
gulp.task('buildTests', function () {
// pipe in all necessary files
return gulp.src(['typings/**/*.ts', 'tests/**/*.ts', 'src/tsd.d.ts'])
Expand Down