針對js文件增加時間戳,避免文件緩存未更新
01 webpack.config.ts
import * as path from 'path';
import * as webpack from 'webpack';
import HelloWorld from './src/plugins/HelloWorld';
const HtmlWebpackPlugin = require('html
未優化之前的版本:
let i = 0;
let start = Date.now();
function count() {
// do a heavy job
for (let j = 0; j 1e9; j++) {
i++;
}
alert("Done in " + (Date.now() - start) + 'ms');
}
count();
上述
Hey guys, I'm Bruski, a regular everyday normal engineer🎵 👨🏻💻
Say, do you guys wanna setup a blog site of your own?
A blog site is a great place for us to record down our notes, daily thoughts o
如題, CentOS編譯安裝時可能提示以下錯誤, 需要升級GCC版本
configure: error: Your compiler does not have the necessary C++17 support! Cannot proceed.
執行命令:
yum install -y centos-release-scl
yum install devtoolset-8-gcc*
完成後執