mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fixed gulp-typescript issue
This commit is contained in:
parent
a3ad564246
commit
41cdea0187
@ -57,7 +57,7 @@ export class Gulpfile {
|
||||
*/
|
||||
@MergedTask()
|
||||
packageCompile() {
|
||||
const tsProject = ts.createProject("tsconfig.json");
|
||||
const tsProject = ts.createProject("tsconfig.json", { typescript: require("typescript") });
|
||||
const tsResult = gulp.src(["./src/**/*.ts", "./typings/**/*.ts"])
|
||||
.pipe(sourcemaps.init())
|
||||
.pipe(ts(tsProject));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user