Upgrade version and modify multiple configurations

This commit is contained in:
ajiemath 2019-12-30 12:02:11 +08:00
parent 2ae9e42ca5
commit 163d2e65c6
29 changed files with 32 additions and 26 deletions

0
banner.jpg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 500 KiB

After

Width:  |  Height:  |  Size: 500 KiB

4
css/app.14f47f4b.css Executable file → Normal file

File diff suppressed because one or more lines are too long

0
data.yaml Executable file → Normal file
View File

0
favicon.ico Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
font/1Ptrg8zYS_SKggPNwIYqWqhPANqczVsq4A.woff2 Executable file → Normal file
View File

0
font/lW-5wjwOK3Ps5GSJlNNkMalnqg6vBMjoPg.woff2 Executable file → Normal file
View File

0
font/lW-kwjwOK3Ps5GSJlNNkMalnrzZyKtrnHg487Znv.woff2 Executable file → Normal file
View File

0
font/lW-mwjwOK3Ps5GSJlNNkMalvESu6KerlFAke7w.woff2 Executable file → Normal file
View File

0
font/lW-mwjwOK3Ps5GSJlNNkMalvdSq6KerlFAke7w.woff2 Executable file → Normal file
View File

0
font/lW-nwjwOK3Ps5GSJlNNkMalnrz6tDs_KPAMW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UN_r8OUehpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UN_r8OUuhpKKSTjw.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UN_r8OVuhpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UN_r8OX-hpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UN_r8OXOhpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UN_r8OXehpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UNirkOUehpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UNirkOUuhpKKSTjw.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UNirkOVuhpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UNirkOX-hpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UNirkOXehpKKSTj5PW.woff2 Executable file → Normal file
View File

0
font/mem5YaGs126MiZpBA-UNirkOXuhpKKSTj5PW.woff2 Executable file → Normal file
View File

2
index.html Executable file → Normal file
View File

@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=description content=""><meta name=author content=drawcall><link rel=icon href=/clock-shop/favicon.ico><title>Clock Shop</title><link href=/clock-shop/css/app.14f47f4b.css rel=preload as=style><link href=/clock-shop/js/app.509541dd.js rel=preload as=script><link href=/clock-shop/js/chunk-vendors.a3705d88.js rel=preload as=script><link href=/clock-shop/css/app.14f47f4b.css rel=stylesheet></head><body><a href=https://github.com/drawcall/clock-shop><img style="position: fixed; top: 0; right: 0; border: 0;z-index: 99999;" src=https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png alt="Fork me on GitHub"></a><noscript><strong>We're sorry but clock-shops doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/clock-shop/js/chunk-vendors.a3705d88.js></script><script src=/clock-shop/js/app.509541dd.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name=description content=""><meta name=author content=drawcall><link rel=icon href=/clock-shop/favicon.ico><title>Clock Shop</title><link href=/clock-shop/css/app.14f47f4b.css rel=preload as=style><link href=/clock-shop/js/app.f942c218.js rel=preload as=script><link href=/clock-shop/js/chunk-vendors.a3705d88.js rel=preload as=script><link href=/clock-shop/css/app.14f47f4b.css rel=stylesheet></head><body><a href=https://github.com/drawcall/clock-shop><img style="position: fixed; top: 0; right: 0; border: 0;z-index: 99999;" src=https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png alt="Fork me on GitHub"></a><noscript><strong>We're sorry but clock-shops doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/clock-shop/js/chunk-vendors.a3705d88.js></script><script src=/clock-shop/js/app.f942c218.js></script></body></html>

4
js/app.509541dd.js → js/app.f942c218.js Executable file → Normal file

File diff suppressed because one or more lines are too long

2
js/app.509541dd.js.map → js/app.f942c218.js.map Executable file → Normal file

File diff suppressed because one or more lines are too long

0
js/chunk-vendors.a3705d88.js Executable file → Normal file
View File

0
js/chunk-vendors.a3705d88.js.map Executable file → Normal file
View File

View File

@ -1,24 +1,30 @@
var map = require('map-stream');
var vfs = require('vinyl-fs');
var map = require("map-stream");
var vfs = require("vinyl-fs");
vfs.src(['./dist/css/*.css'])
.pipe(map(function (file, cb) {
var content = file.contents;
content = content.toString('utf8');
content = content.replace('/banner.jpg', '../banner.jpg').replace(/\/font\//ig, '../font/')
file.contents = Buffer.from(content);
vfs
.src(["./dist/css/*.css"])
.pipe(
map(function(file, cb) {
var content = file.contents;
content = content.toString("utf8");
content = content.replace("/banner.jpg", "../banner.jpg").replace(/\/font\//gi, "../font/");
file.contents = Buffer.from(content);
cb(null, file);
}))
.pipe(vfs.dest('./dist/css/'));
cb(null, file);
})
)
.pipe(vfs.dest("./dist/css/"));
vfs.src(['./dist/js/*.js'])
.pipe(map(function (file, cb) {
var content = file.contents;
content = content.toString('utf8');
content = content.replace('/data.yaml', './data.yaml');
file.contents = Buffer.from(content);
vfs
.src(["./dist/js/*.js"])
.pipe(
map(function(file, cb) {
var content = file.contents;
content = content.toString("utf8");
content = content.replace("/data.yaml", "./data.yaml");
file.contents = Buffer.from(content);
cb(null, file);
}))
.pipe(vfs.dest('./dist/js/'));
cb(null, file);
})
)
.pipe(vfs.dest("./dist/js/"));