Skip to content

Commit

Permalink
fix: include fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonbeckas committed May 13, 2023
1 parent b7f1912 commit 77d48a6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion backend/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ function copyTestConfig(done) {
done()
}

function copyFonts(done) {
//mkdirSync("build/fonts")
copyFileSync("src/fonts/Montserrat-Regular.ttf", "build/fonts/Montserrat-Regular.ttf")
copyFileSync("src/fonts/vfs_montserrat.js", "build/fonts/vfs_montserrat.js")
done()
}

task("test",() => {
const tsProject = ts.createProject("tsconfig.json")
return gulp.src('./src/**/*.ts')
Expand Down Expand Up @@ -102,7 +109,7 @@ function watchCode() {
watch("src/**/*",series("compile",nodemonFun));
}

task("default", series("clean","compile",copyProdConfig, copyNewManifest))
task("default", series("clean","compile",copyProdConfig, copyNewManifest, copyFonts))

task("watch",series("compile",copyTestConfig,parallel(watchCode,nodemonFun)))

Expand Down

0 comments on commit 77d48a6

Please sign in to comment.