摘要:
webpack4 tree sharking 基于es6的export inport 没使用到的代码,去掉 不想被tree sharking 的文件,在package,json中配置 sideEffects配置 注意Babel默认配置的影响, ’@babel/preset-env':{modules 阅读全文
posted @ 2021-06-28 08:24
baixinL
阅读(60)
评论(0)
推荐(0)
摘要:
字体未下载完成时,浏览器隐藏或自动降级,导致字体闪烁 flash of invisible Text(foit) 不显示--显示 flash of unstyled Text(fout) 先显示--换字体 font-display ie不支持 默认值: auto 引入字体:@font-face un 阅读全文
posted @ 2021-06-28 07:41
baixinL
阅读(317)
评论(0)
推荐(0)