mirror of
https://github.com/caojiezi2003/clock-shop.git
synced 2024-11-23 07:30:21 +00:00
Upgrade version and modify multiple configurations
This commit is contained in:
parent
2ae9e42ca5
commit
163d2e65c6
0
banner.jpg
Executable file → Normal file
0
banner.jpg
Executable file → Normal file
Before Width: | Height: | Size: 500 KiB After Width: | Height: | Size: 500 KiB |
4
css/app.14f47f4b.css
Executable file → Normal file
4
css/app.14f47f4b.css
Executable file → Normal file
File diff suppressed because one or more lines are too long
0
favicon.ico
Executable file → Normal file
0
favicon.ico
Executable file → Normal file
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
0
font/1Ptrg8zYS_SKggPNwIYqWqhPANqczVsq4A.woff2
Executable file → Normal file
0
font/1Ptrg8zYS_SKggPNwIYqWqhPANqczVsq4A.woff2
Executable file → Normal file
0
font/lW-5wjwOK3Ps5GSJlNNkMalnqg6vBMjoPg.woff2
Executable file → Normal file
0
font/lW-5wjwOK3Ps5GSJlNNkMalnqg6vBMjoPg.woff2
Executable file → Normal file
0
font/lW-kwjwOK3Ps5GSJlNNkMalnrzZyKtrnHg487Znv.woff2
Executable file → Normal file
0
font/lW-kwjwOK3Ps5GSJlNNkMalnrzZyKtrnHg487Znv.woff2
Executable file → Normal file
0
font/lW-mwjwOK3Ps5GSJlNNkMalvESu6KerlFAke7w.woff2
Executable file → Normal file
0
font/lW-mwjwOK3Ps5GSJlNNkMalvESu6KerlFAke7w.woff2
Executable file → Normal file
0
font/lW-mwjwOK3Ps5GSJlNNkMalvdSq6KerlFAke7w.woff2
Executable file → Normal file
0
font/lW-mwjwOK3Ps5GSJlNNkMalvdSq6KerlFAke7w.woff2
Executable file → Normal file
0
font/lW-nwjwOK3Ps5GSJlNNkMalnrz6tDs_KPAMW.woff2
Executable file → Normal file
0
font/lW-nwjwOK3Ps5GSJlNNkMalnrz6tDs_KPAMW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OUehpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OUehpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OUuhpKKSTjw.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OUuhpKKSTjw.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OVuhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OVuhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OX-hpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OX-hpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OXOhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OXOhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OXehpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UN_r8OXehpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOUehpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOUehpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOUuhpKKSTjw.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOUuhpKKSTjw.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOVuhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOVuhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOX-hpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOX-hpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOXehpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOXehpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOXuhpKKSTj5PW.woff2
Executable file → Normal file
0
font/mem5YaGs126MiZpBA-UNirkOXuhpKKSTj5PW.woff2
Executable file → Normal file
2
index.html
Executable file → Normal file
2
index.html
Executable file → Normal 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
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
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
0
js/chunk-vendors.a3705d88.js
Executable file → Normal file
0
js/chunk-vendors.a3705d88.js.map
Executable file → Normal file
0
js/chunk-vendors.a3705d88.js.map
Executable file → Normal file
@ -1,24 +1,30 @@
|
|||||||
var map = require('map-stream');
|
var map = require("map-stream");
|
||||||
var vfs = require('vinyl-fs');
|
var vfs = require("vinyl-fs");
|
||||||
|
|
||||||
vfs.src(['./dist/css/*.css'])
|
vfs
|
||||||
.pipe(map(function (file, cb) {
|
.src(["./dist/css/*.css"])
|
||||||
var content = file.contents;
|
.pipe(
|
||||||
content = content.toString('utf8');
|
map(function(file, cb) {
|
||||||
content = content.replace('/banner.jpg', '../banner.jpg').replace(/\/font\//ig, '../font/')
|
var content = file.contents;
|
||||||
file.contents = Buffer.from(content);
|
content = content.toString("utf8");
|
||||||
|
content = content.replace("/banner.jpg", "../banner.jpg").replace(/\/font\//gi, "../font/");
|
||||||
|
file.contents = Buffer.from(content);
|
||||||
|
|
||||||
cb(null, file);
|
cb(null, file);
|
||||||
}))
|
})
|
||||||
.pipe(vfs.dest('./dist/css/'));
|
)
|
||||||
|
.pipe(vfs.dest("./dist/css/"));
|
||||||
|
|
||||||
vfs.src(['./dist/js/*.js'])
|
vfs
|
||||||
.pipe(map(function (file, cb) {
|
.src(["./dist/js/*.js"])
|
||||||
var content = file.contents;
|
.pipe(
|
||||||
content = content.toString('utf8');
|
map(function(file, cb) {
|
||||||
content = content.replace('/data.yaml', './data.yaml');
|
var content = file.contents;
|
||||||
file.contents = Buffer.from(content);
|
content = content.toString("utf8");
|
||||||
|
content = content.replace("/data.yaml", "./data.yaml");
|
||||||
|
file.contents = Buffer.from(content);
|
||||||
|
|
||||||
cb(null, file);
|
cb(null, file);
|
||||||
}))
|
})
|
||||||
.pipe(vfs.dest('./dist/js/'));
|
)
|
||||||
|
.pipe(vfs.dest("./dist/js/"));
|
||||||
|
Loading…
Reference in New Issue
Block a user