mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
added typescript to javascript replacement back because npm still does not support typescript code highlighting
This commit is contained in:
parent
1c8027b327
commit
a11eea57fe
@ -120,6 +120,7 @@ export class Gulpfile {
|
||||
@Task()
|
||||
browserCopyReadmeFile() {
|
||||
return gulp.src("./README_BROWSER.md")
|
||||
.pipe(replace(/```typescript([\s\S]*?)```/g, "```javascript$1```"))
|
||||
.pipe(rename("README.md"))
|
||||
.pipe(gulp.dest("./build/browser-package"));
|
||||
}
|
||||
@ -237,6 +238,7 @@ export class Gulpfile {
|
||||
@Task()
|
||||
packageCopyReadme() {
|
||||
return gulp.src("./README.md")
|
||||
.pipe(replace(/```typescript([\s\S]*?)```/g, "```javascript$1```"))
|
||||
.pipe(gulp.dest("./build/package"));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user