logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

仿照iPhone开关样式

.mwui-switch-btn:hover span{background:#ffffff;}.mwui-switch-btn{  display:block; padding:1px;  overflow:hidden; margin-bottom:5px; border-radius:18px; cursor: pointer;}.btn_on{width:51px;height:2

webpack + create-react-app 打包优化

今天运行打包代码的时候,瞄了一下我们的打包速度,一看28.38 s感觉有点长了,于是想优化一下。1、首先使用speed-measure-webpack-plugin 这个神奇,包裹一下我们的 webpack 配置,具体在create-react-app是build.jsconst SpeedMeasurePlugin = require('speed-measure-webpack-plugin'

#webpack
到底了