add copying of CNAME file from src

Necssary for gh-pages and for dev page healthcheck.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-12-11 23:07:04 +01:00
parent 787a23824f
commit 6b15e9418d
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 8 additions and 1 deletions

View File

@ -23,6 +23,10 @@ const images = () =>
.pipe(imagemin())
.pipe(dest('./dist/assets/images'))
const cname = () =>
gulp.src('./src/CNAME')
.pipe(gulp.dest('./dist/CNAME'))
const html = () =>
src('./src/*.html')
.pipe(dest('./dist'))
@ -43,6 +47,7 @@ const watchsrc = () => {
const build = () =>
src(
[
'src/CNAME',
'src/css/*.css',
'src/assets/images/**/*',
'src/js/main.js',
@ -50,9 +55,10 @@ const build = () =>
], {base: 'src'}
).pipe(dest('dist'))
exports.js = js
exports.css = css
exports.js = js
exports.html = html
exports.cname = cname
exports.images = images
exports.server = server
exports.build = series(build)

1
src/CNAME Normal file
View File

@ -0,0 +1 @@
dappconnect.dev